CTRL-SPACE as a hotkey for a script
Moderators: Dorian (MJT support), JRL
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: 1357
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
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
Yes, we have a Custom Scripting Service. Message me or go here