Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SendKeyPress(keyPress) {
- Msgbox, You pressed %keyPress%
- SendPipeMessage(keyPress)
- }
- #If WinActive("ahk_exe notepad.exe")
- #Up::SendKeyPress("WinUp")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement