Hi Aaron, I loaded this script example in the usual way with the window-eyes script manager. The script says it's running but does nothing. Yes I did press the control shift windows "r" keys twice. the toggle method I refer to is in the window-eyes scripting manual keyboard object and methods. thanks again. Martin Webster.
--- On Mon, 8/4/08, Aaron Smith <[EMAIL PROTECTED]> wrote: > From: Aaron Smith <[EMAIL PROTECTED]> > Subject: Re: why does this keyboard example not work? > To: [email protected] > Date: Monday, August 4, 2008, 1:24 PM > Martin, > > How are you loading the script? And are you pressing the > hotkey twice? > Also, what toggle method are you referring to? > > Aaron > > martin webster wrote: > > Hi all, > > I found this example in the window-eyes help in the > RegisterHotkey section. This script loads, but nothing > happens. It is meant to be able to detect whether a hotkey > has been pressed twice, but it doesn't say anything. > > ' Detect if a key has been pressed twice in > succession > > Set registeredKey = > Keyboard.RegisterHotKey("Control-Shift-Windows-R", > "SpeakHelloWorld", > > , , True) > > Sub SpeakHelloWorld(firstPress) > > If Not firstPress Then > > Speak "Key pressed twice in > succession" > > End If > > End Sub > > > > Can somebody explain why this doesn't work. I > would all so like an example of the toggle method. > > Warm regards. > > Martin Webster. > > > > > > > > > > > > -- > To insure that you receive proper support, please include > all past > correspondence (where applicable), and any relevant > information > pertinent to your situation when submitting a problem > report to the GW > Micro Technical Support Team. > > Aaron Smith > GW Micro > Phone: 260/489-3671 > Fax: 260/489-2608 > WWW: http://www.gwmicro.com > FTP: ftp://ftp.gwmicro.com > Technical Support & Web Development
