I've got the following small script:

aw_han=win.getfocus()
pw_han=win.parent(aw_han)       
*TrayIcon Right =AmP
*Keys {left}{up}{up}{up}{enter}
wait.for(1500,activewindow("=AmP"))
win.setfocus(pw_han)

It works fine, if i run this script assigned to a hotkey with "*script 
runfile ...". It doesn't work, if i run this script assigned to a 
hotkey within the "more command box ". It seems, that the command 
wait.for, doesn't wait. I replaced the above wait.for with "wait.
for(3000)" and it worked.

regards dele





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/
 



Reply via email to