Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. SendMode Input
  2.  
  3. #MaxThreadsPerHotkey 1
  4.  
  5. $$ALT::
  6. Loop
  7. if getkeystate("ScrollLock","T") ;Check if scrolllock is toggled on, if it is then do the keyspam loop
  8. {
  9. Send {e}
  10. sleep 1
  11. }
  12. else ;if scroll lock isnt toggled on, then press "ALT, for "ALT" button to have its native function
  13. Send {ALT}
  14. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement