I'm currently using these codes that I made last year:
I have read that what I want is possible by using the ControlSend but I have no success of doing it.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
Here is the thread that I saw awhile ago that makes a script run on a specific window:
https://autohotkey.com/board/topic/7183 ... ackground/
Can somebody help me, please? Thank you so much!