Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. ; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
  2. ; semicolon, such as this one, are comments. They are not executed.
  3.  
  4. ; This script has a special filename and path because it is automatically
  5. ; launched when you run the program directly. Also, any text file whose
  6. ; name ends in .ahk is associated with the program, which means that it
  7. ; can be launched simply by double-clicking it. You can have as many .ahk
  8. ; files as you want, located in any folder. You can also run more than
  9. ; one ahk file simultaneously and each will get its own tray icon.
  10.  
  11. ; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it
  12. ; launches a web site in the default browser. The second is Control+Alt+N
  13. ; and it launches a new Notepad window (or activates an existing one). To
  14. ; try out these hotkeys, run AutoHotkey again, which will load this file.
  15.  
  16. #z::Run www.autohotkey.com
  17.  
  18. µ::Right
  19.  
  20. ²::
  21. SendInput {CTRL down}{a}{CTRL up}
  22. SendInput {CTRL down}{ALT down}{l}{ALT up}{CTRL up}
  23. SendInput {ESC}
  24. return
  25.  
  26.  
  27. ^!n::
  28. IfWinExist Untitled - Notepad
  29. WinActivate
  30. else
  31. Run Notepad
  32. return
  33.  
  34.  
  35. ; Note: From now on whenever you run AutoHotkey directly, this script
  36. ; will be loaded. So feel free to customize it to suit your needs.
  37.  
  38. ; Please read the QUICK-START TUTORIAL near the top of the help file.
  39. ; It explains how to perform common automation tasks such as sending
  40. ; keystrokes and mouse clicks. It also explains more about hotkeys.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement