auto click

Ask gaming related questions (AHK v1.1 and older)
simonrule
Posts: 7
Joined: 17 Feb 2016, 17:58

auto click

Post by simonrule » 10 Oct 2020, 12:28

hello guys is it possible with autohotkey to click on retry once this windows appear.
while i play game this window keeps popping up from time to time while i play the game in full resolution.
https://imgur.com/zrKoNqE

can anyone plz help with script that once this window appear will click on retry button because when u click retry the game doesn't crash

thank you :)
Last edited by BoBo on 10 Oct 2020, 22:05, edited 1 time in total.
Reason: Moved to Gaming section.

User avatar
mikeyww
Posts: 26972
Joined: 09 Sep 2014, 18:38

Re: auto click

Post by mikeyww » 10 Oct 2020, 13:54

Your main options for catching the window are probably a shell hook or a SetTimer. You could then probably issue a Send or ControlSend to activate the button.

simonrule
Posts: 7
Joined: 17 Feb 2016, 17:58

Re: auto click

Post by simonrule » 16 Mar 2024, 15:27

im not expert at this , can anyone help with similar script please?

User avatar
mikeyww
Posts: 26972
Joined: 09 Sep 2014, 18:38

Re: auto click

Post by mikeyww » 17 Mar 2024, 07:19

Below is a general idea that you can test and adjust. I do not know whether it will work.

Code: Select all

#Requires AutoHotkey v1.1.33.11  
winTitle := "Microsoft Visual C"
Loop {
 WinWait % winTitle
 ControlClick Retry
 SoundBeep 1500
 WinWaitClose
 SoundBeep 1000
}

Post Reply

Return to “Gaming Help (v1)”