Javi Oct 12th, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #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.
- run, snippingtool.exe,,, process_id
- WinWait, ahk_pid %process_id%
- WinActivate, ahk_pid %process_id%
- Send !n
- #If GetKeyState("CapsLock", "T")=1
RAW Paste Data