Problem: I want to run my script for a specific window and does not effect any other window that I'm currently working on.
I came across this thread: https://autohotkey.com/board/topic/7183 ... ackground/
I do not know what "ahk_id" is. Also, how would I know the program name? Is it the one in the task manager?
Here is my script BTW:
Hope someone would help me. Thank you so much!if not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%"
ExitApp
}
#Persistent
SetTimer, PressTheKey, 500
SetKeyDelay, 100
Return
PressTheKey:
SendEvent, 1234567890
Return
#If, A_IsPaused
Home::
Suspend
Pause
Return
#If
Home::
Suspend
Pause
Return