Page 1 of 1

BackGround Auto Clicker

Posted: 28 Feb 2023, 22:17
by Diwaj
Hello please i need help to create a loop who auto click in back ground every 5,5 secondes. im on win10. thank you

Window Spy

ARK: Survival Evolved
ahk_class UnrealWindow
ahk_exe ShooterGame.exe
ahk_pid 5496
ahk_id 198652
----------------------------
Screen: 1315, 1253
Window: 1315, 1253 <--------- X,Y
Client: 1315, 1253 (default)
Color: 29C2E8 (Red=29 Green=C2 Blue=E8)

Hiden Window (back ground auto clicker)

Posted: 01 Mar 2023, 00:34
by Diwaj
Hello please i need help for auto click in back ground every 5,5 secondes

someone can send me and exemple

i can create a auto click on a window with

Code: Select all

#MaxThreadsPerHotkey 2
 
F12::
    loop
{
WinActivate ahk_exe ShooterGame.exe        
Click, 1616, 1236, 1
        sleep 5000
    }
return
but that open the window evry time for click on it.

Re: BackGround Auto Clicker

Posted: 01 Mar 2023, 00:56
by gregster
I merged your two topics and moved them to AHK v1 Gaming help.

Re: BackGround Auto Clicker

Posted: 01 Mar 2023, 01:11
by Diwaj
gregster wrote:
01 Mar 2023, 00:56
I merged your two topics and moved them to AHK v1 Gaming help.
ok thanks but I think fewer people look at the "games" topics that's why I wanted to create a second post in the main "Help" topics it's possible to delete the first topic and put the second in [V1] Ask For Help please

Re: BackGround Auto Clicker

Posted: 01 Mar 2023, 02:02
by BoBo
Diwaj wrote:
01 Mar 2023, 01:11
gregster wrote:
01 Mar 2023, 00:56
I merged your two topics and moved them to AHK v1 Gaming help.
ok thanks but I think fewer people look at the "games" topics that's why I wanted to create a second post in the main "Help" topics it's possible to delete the first topic and put the second in [V1] Ask For Help please
The "Gaming"-section has been created to provide AHK Gaming geeks a platform that won’t get mixed/flooded with other topics. Therefore, NO. Game related topics have to be posted by default at the Gaming section, and will be moved accordingly if posted at the "Ask for Help"-section.
And JFTR, duplicate postings will be deleted anyway. HTH

Re: BackGround Auto Clicker

Posted: 02 Mar 2023, 11:56
by Rohwedder
Hallo,
perhaps?:

Code: Select all

F12::
loop
{
	ControlClick, x1616 y1236, ahk_exe ShooterGame.exe
	sleep 5500 ; every 5,5 secondes
}
return
However, many applications accept clicks only when their windows are active.

Re: BackGround Auto Clicker

Posted: 02 Mar 2023, 19:22
by Diwaj
Rohwedder wrote:
02 Mar 2023, 11:56
Hallo,
perhaps?:

Code: Select all

F12::
loop
{
	ControlClick, x1616 y1236, ahk_exe ShooterGame.exe
	sleep 5500 ; every 5,5 secondes
}
return
However, many applications accept clicks only when their windows are active.
hello, ok but someone who i know (who dont want give me the script) managed to make a script that clicks, while it can do other things on the pc :roll: