Advertisement
Guest User

ETHICAL incremental flask macro

a guest
Feb 14th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.  
  6. global count := 1
  7.  
  8. f11::
  9. Suspend
  10. return
  11.  
  12. *d::
  13.     if (count >5)
  14.         count := 1
  15.    Send %count%
  16.    count++
  17. return
  18.  
  19. *f::
  20.     count := 1
  21. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement