Hi Davor
I just tested here and it worked properly,
always showing the correct message in debug:
One hotkey for F9, only for window: *metapad
command: win.debug("metapad is active")
One hotkey for F9, only for window: UltraEdit*
command: win.debug("UltraEdit is active")
One hotkey for F9, the Window box is empty,
command: win.debug("another application is active")
Bruce has said in messages that F12 is not reliable
as a hotkey:
20 April 2005:
B> F12 does not work as a hot key for many people because
B> Windows reserves it for the debugger, I think. You can
B> try a different F key if you have problems with F12.
2 January:
B> You used F12 in your example, which may not function as
B> a hot key (search forum for related messages). But any
B> other function key or hot key should work.
So maybe you just need to try with a different key.
Alan
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/