CTRL-SPACE as a hotkey for a script
Moderators: JRL, Dorian (MJT support)
CTRL-SPACE as a hotkey for a script
How do I assign this? I am having trouble with making the OnEvent function work, so that seems dead end.
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
Re: CTRL-SPACE as a hotkey for a script
CTRL-SPACE is not an option for a hotkey. If you're looking to detect it as an Onevent, the code below will do that :
Code: Select all
OnEvent>KEY_DOWN,VK32,2,KeyPress
//keep the script running
label>loop
wait>0.1
goto>loop
SRT>KeyPress
MDL>CTRL+Space was pressed
END>KeyPress