Advertisement
Guest User

SemiAuto Toogle for Warframe

a guest
Sep 30th, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 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. #SingleInstance force
  17.  
  18. #IfWinActive WARFRAME
  19. Tab::
  20. if(Toggle = 1)
  21. {
  22. Toggle := 0
  23. }
  24. else
  25. {
  26. Toggle := 1
  27. }
  28. SoundBeep
  29. return
  30.  
  31. #IfWinActive WARFRAME
  32. ~$*LButton::
  33. If Toggle = 1
  34. Loop
  35. {
  36. GetKeyState, LButtonState, LButton, P
  37. If LButtonState = D
  38. {
  39. Send {LButton}
  40. Sleep 50
  41. }
  42. else
  43. {
  44. return
  45. }
  46. }
  47. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement