Doug
glad you could identify the problem. In the meantime a sleep 50 does the job
for me.
 
Thanks and have a good weekend,
  Ralf
 
Ralf Heinrich Kefferpuetz
Web: http://www.keffi.eu
Facebook: http://www.facebook.com/Keffi.eu
Germany
 
From: Doug Geoffray [mailto:[email protected]] 
Sent: Friday, October 26, 2012 4:53 PM
To: Ralf Kefferpuetz
Cc: [email protected]
Subject: Re: WE 8 b1 and ActiveSettings.Screen.Rate
 
Hello Ralf,

Thanks for the simplified script (smile).

Yes, I now see exactly what is going on.  We did make a change where we now
internally queue the speak command.  Meaning in 7.5.4.1 it was a synchronous
command and wouldn't return until we sent off the string to speak but in the
beta the  speak method is no longer synchronous.  So you do the speak, we
queue it, you reset the speech rate and after we take a little nap we get
around to actually speaking the test and of course now it is to late as you
have reset the rate back.  This is why in Immed it worked because I was
going between each lines slowly.  I put a sleep after your speak command and
now your little hotkey snippet works.

So we clearly broke this.  We'll fix this before the final 8 ships by making
the speak method be synchronous again.

Thanks for hanging in there with me!

Doug
On 10/26/2012 10:07 AM, Ralf Kefferpuetz wrote:
Set myHotkey = Keyboard.RegisterHotkey("windows-F9", "fTele")
function fTele()
iScreenRate = ActiveSettings.Screen.Rate
ActiveSettings.Screen.Rate = Round(iScreenRate * 0.66)
speak "this is a test string"
ActiveSettings.Screen.Rate = iScreenRate
end function
 

Reply via email to