Script constantly working

Get help with using AutoHotkey and its commands and hotkeys
robertoggs34
Posts: 2
Joined: 08 Oct 2019, 02:21

Script constantly working

08 Oct 2019, 02:23

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
User avatar
Sir Teddy the First
Posts: 94
Joined: 05 Aug 2019, 12:31
Contact:

Re: Script constantly working

08 Oct 2019, 06:48

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.
:eh: :think:
robertoggs34
Posts: 2
Joined: 08 Oct 2019, 02:21

Re: Script constantly working

08 Oct 2019, 07:42

#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?

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Rohwedder, Spawnova, XMCQCX and 48 guests