Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
1,421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. Download Autohotkey from: https://autohotkey.com/download/ahk-install.exe
  2. Install it. If it asks, you want the Unicode version.
  3. If you are running 32 bit windows, you want 32 bit AHK, if 64 bit windows, 64 bit AHK.
  4. If you don't know if your windows is 32/64 bit open System Control panel or press windows key+pause/break key and look at the "system type" line.
  5.  
  6. Open notepad and paste/type your script.
  7. You may want this at the beginning of the script to have it run in administrator mode:
  8. if not a_IsAdmin
  9. {
  10. Run *RunAs "%A_ScriptFullPath%"
  11. ExitApp
  12. }
  13.  
  14. Save it wherever you want, but make sure the name ends with ".ahk" (w/o the quotes)
  15. Also the save as type should be "All Files (*.*)" not "Text Documents (*.txt)"
  16.  
  17. Now double click your file and it will start (and possibly prompt you for administrator confirmation if you included that part.
  18. There will be an icon (letter H on a green square) in your system tray (the area down by the clock in the lower right).
  19. You can right click that to edit/reload/exit your script.
  20. You can now use any hotkeys defined in your script.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement