autohotkeys toggle

by David on December 25th, 2009
No notes
Syntax: No syntax
Show lines - Hide lines - Show in textbox - Download
  1. HitKeyOn = 0
  2.  
  3. ^z::
  4. If (!HitKeyOn)
  5. SetTimer, HitKey, 7000
  6. Else
  7. SetTImer, HitKey, off
  8. HitKeyOn := !HitKeyOn
  9. Return
  10.  
  11. HitKey:
  12. SetTimer, HitKey, off
  13. Send, {f12}
  14. If (HitKeyOn)
  15. SetTimer, HitKey, 7000
  16. Return

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS