Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- SetTitleMatchMode, 2
- Run, ".\program.exe"
- Overclock_On:
- {
- Send {LAlt down}
- Sleep, 50
- Send {4}
- Sleep, 50
- Send {LAlt up}
- return
- }
- Process, WaitClose, program.exe
- Overclock_Off:
- {
- Send {LAlt down}
- Sleep, 50
- Send {5}
- Sleep, 50
- Send {LAlt up}
- return
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement