Listers,
Sorry for the wrong term, but my memory fails me, as to the correct term. I am wondering if there has been any further develop on a lack I found earlier.

Say your app has a hotkey that needs to be pressed twice within a second or so - Like Alt-F12, Alt-F12 - to perform a certain task. Last time I attempted to incoporate such a hotkey in my project, I found that it did not work well with the hotkey manager. You can make this work first hand, when releasing the app. But if the user wants to redefine the hotkey - say to Ctrl-F12, the hotkey manager will redefine it to only a SINGLE press of the hotkey - meaning that the app will react upon the first press of the hotkey.

Thing is, I have an app here, where I want function1 to take place when the hotkey is pressed once, and only once. Function2 should kick in, when the user double-press the same key-combination. Hope this makes sense. But how can I work this out, so that the user can redefine to any other key-combo, even if he wants a Single-/Double-version of another key-combo. Like in the example above.

Sorry for a messy message, but hope I came through clear enough that someone could please let me know, if there is any workaround here. Or, is this not possible to achieve the way things stands as of current?

--
David

_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

Reply via email to