Hi Kevin, In my set files, the next line hot key is not defined. I'm not sure when you are expecting this to happen, but since it's undefined, it looks to me like it will never happen.
are you trying to get this to happen when the user presses the up or down arrow key? Chip -----Original Message----- From: Kevin Huber [mailto:[email protected]] Sent: Monday, May 25, 2009 3:01 PM To: gw-scripting Subject: Onhotkey event doing funny things Hi I have written the following code using the Onhotkey event: ConnectEvent Application, "OnHotkey", "Onhotkey" Function Onhotkey(hotkeyId, isBeforeAction, defaultActionAborted) If hotkeyId = HKNextLine And not isBeforeAction Then sleep 500 ExecuteHotkey(hkStatusLine) End If OnHotkey = false End Function However, if I replace the hotkeyID in the If statement by HKTitleApp, then it works fine. Why does the OnHotkey event seem to work for some hotkeys and not for others? Kevin Huber
