script like the following will work:
Avoids doubleclicking a button for ~1 second...
; Call from G15 using "pathTo\PowerPro" [EMAIL PROTECTED]
; Save in a filename something like: "pathTo\scripts\G15PowerPro.txt"
@ThisKeyName
LOCAL handle= WIN.Handle("active")
LOCAL exe= WIN.Exename("active")
STATIC timeSave
WIN.Debug("timesec -timeSave= "++ timesec -timeSave, ;;+
timesec, timeSave)
IF(2 > timesec -timeSave)DO
WIN.Debug("avoided double sending here !!!")
QUIT
ENDIF
WIN.Debug("@KeyName handle="++ handle++ " exe="++ exe)
IF(exe=="exefilenameNoExtension1")DO
; DO your keystrokes here ...
ELSEIF(exe=="exefilenameNoExtension2")
; DO your keystrokes here ...
ENDIF
timeSave= timesec
QUIT
If I'm off the mark, sorry...
Ted
Attention: PowerPro's Web site has moved: http://www.ppro.org
SPONSORED LINKS
| Computer monitoring software | Power pro | Computer and internet software |
| Free computer monitoring software |
YAHOO! GROUPS LINKS
- Visit your group "power-pro" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
