Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; *********************** Header - some configuration  ***********************        
  2. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.    
  3. ; #Warn  ; Enable warnings to assist with detecting common errors. (disabled by default)    
  4. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.    
  5. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.                    
  6. setTitleMatchMode, 2 ; set title match mode to "contains"                                  
  7.  
  8. Enter::
  9.     Check := true
  10.     SetTimer, CheckOff, 1000 ; 1 second to type in 001
  11.     Send {Enter}
  12. return
  13.  
  14. NumpadEnter::
  15.     Check := true
  16.     SetTimer, CheckOff, 1000 ; 1 second to type in 001
  17.     Send {Enter}
  18. return
  19.  
  20. :*:clap::
  21.     If Check
  22.         Check := false
  23.     Send {Esc}
  24. return
  25.  
  26. :*:fuck::
  27.     If Check
  28.         Check := false
  29.     Send {Esc}
  30. return
  31.  
  32. CheckOff:
  33.    Check := false
  34.     SetTimer, CheckOff, Off
  35. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement