Advertisement
djvj

Untitled

Oct 3rd, 2011
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Put this at the script top somewhere:
  2. Hotkey, $1, customHotkey
  3.  
  4.  
  5. Put this at the bottom. What this does is when you press 1 real fast, it will send 1. But if you hold it for 2 seconds (t2) it will send !1 (ALT+1):
  6. customHotkey:
  7. KeyWait 1, t2
  8. Send % Errorlevel ? "!1" : "1"
  9. KeyWait 1
  10. Return
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement