Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. ;
  2. ; AutoHotkey Version: 1.x
  3. ; Language: English
  4. ; Platform: Win9x/NT
  5. ; Author: A.N.Other <myemail@nowhere.com>
  6. ;
  7. ; Script Function:
  8. ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
  9. ;
  10. ;#InstallKeybdHook
  11.  
  12. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  13. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  14. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  15. ;Capslock::Send {LAlt down}{Shift}{LAlt up}
  16.  
  17. Down := false
  18.  
  19. *Numpad1::
  20. Down := !Down
  21. If Down
  22. Send {ALT Down}
  23. else
  24. Send {ALT Up}
  25. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement