Script constantly working
-
- Posts: 2
- Joined: 08 Oct 2019, 02:21
Script constantly working
Hi i have a doubt, to have the script working on a web i must click in the web ofc and keep it there, cant use the mouse to do other things cause then script stops working, what can i do if i want it working constantly even when i click other place to work or navigate and dont want it stops
- Sir Teddy the First
- Posts: 94
- Joined: 05 Aug 2019, 12:31
- Contact:
Re: Script constantly working
Hi,
have a look at ControlClick and ControlSend.
These commands allow you to send keystrokes and clicks directly to the window, even if you're working in another application.
have a look at ControlClick and ControlSend.
These commands allow you to send keystrokes and clicks directly to the window, even if you're working in another application.
-
- Posts: 2
- Joined: 08 Oct 2019, 02:21
Re: Script constantly working
#Persistent
SetTimer, PressTheKey, 500
Return
PressTheKey:
Send, {Right}
Send, {Escape}
Return
Thats my script i want it works constantly on a web,not only when i click in the web where i want it working, but being forbidden to click otherwhere to navigate, go to C: ,work etc cause then the action happens in the place ive just clicked and stops in the web i want..... what i should change?
SetTimer, PressTheKey, 500
Return
PressTheKey:
Send, {Right}
Send, {Escape}
Return
Thats my script i want it works constantly on a web,not only when i click in the web where i want it working, but being forbidden to click otherwhere to navigate, go to C: ,work etc cause then the action happens in the place ive just clicked and stops in the web i want..... what i should change?