Re: TSR capability under Windows
- Posted by GreenEuphorian Nov 27, 2014
- 1301 views
Here's some generic information on how to hook to a specific key combination: http://stackoverflow.com/questions/19356830/how-can-i-create-a-global-hotkey-combination-that-includes-the-windows-key and http://stackoverflow.com/questions/18917716/windows-how-to-query-state-of-modifier-keys-within-low-level-keyboard-hook
Alternatively, you could use something like http://www.autohotkey.com/ to deal with the hotkey hooking for you, and have it run a command to notify your program when the combination has been pressed.
Thanks Jim. This is pretty much what I needed. I was forgetting that under Windows I won't have the burden of creating a TSR program myself, because multi-tasking is supported, as you pointed out. So, I will just go ahead and create a normal Euphoria program, and bind it to some key combination through something like autokey.