Advertisement
t3h_m00kz

!!!Halo Infinite.ahk

Mar 6th, 2022
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;m00kz Halo Infinite hotkeys ;
  3. ;AutoHotKey Version 1.1.32.00;
  4. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  5.  
  6. ;LAUNCH THIS FILE TO LAUNCH THE HOTKEY SYSTEM.
  7.  
  8. #Include Init.ahk
  9.    
  10. Run WheelUp.ahk, , UseErrorLevel
  11. Run WheelDown.ahk, , UseErrorLevel
  12. Run AutoMark.ahk, , UseErrorLevel
  13. Run CampaignAbilities.ahk, , UseErrorLevel
  14.  
  15. msgbox Scripts loaded.
  16.  
  17. keepscript := "!!!Halo Infinite.ahk"
  18.  
  19. +F5::
  20.     for process in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Process where name = 'Autohotkey.exe' and not CommandLine like '%" keepscript "%' ")
  21.     process, close, % process.ProcessId
  22.     exitapp
  23.  
  24. #If WinActive("ahk_exe HaloInfinite.exe")
  25. F5::
  26.     reload
  27.     return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement