Advertisement
EzFlow997

HaraldWeedhair Script

Mar 3rd, 2024 (edited)
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. #Warn ; Enable warnings to assist with detecting common errors.
  2. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  3. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  4. #SingleInstance Force
  5. ;#NoTrayIcon
  6. SetKeyDelay, -1, 1
  7. SetControlDelay, -1
  8. SetMouseDelay, -1
  9. SetWinDelay, -1
  10. ListLines, Off
  11. PID := DllCall("GetCurrentProcessId")
  12. ProcessSetPriority High, %PID%
  13.  
  14. Hotkey, ^1, Exit
  15. Hotkey, g, Rebind_G_Key
  16.  
  17. Rebind_G_Key(){
  18. Send {LCtrl Down}
  19. Send {G Down}
  20. Sleep 250
  21. Send {LCtrl Up}
  22. Send {G Up}
  23. }
  24.  
  25. Exit(){
  26. ExitApp
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement