ControlClick does not click on a button at a specific coordinate

Ask gaming related questions (AHK v1.1 and older)
deffafnq
Posts: 5
Joined: 16 Sep 2021, 15:08

ControlClick does not click on a button at a specific coordinate

18 Sep 2021, 09:21

Hi, there was such a problem, I'm trying to write a simple script that will just start a match in a Fortnite game, then pick up the rewards and start over, I did almost everything, but there was a problem with ControlSend, it works only in two coordinates, and the main ones are the first ones (x1700 y720 )
he hovers on them but does not click, what could be the problem? - I provide a video.
Fortnite
ahk_class UnrealWindow
ahk_exe FortniteClient-Win64-Shipping.exe
ahk_pid 12216
Last edited by deffafnq on 19 Sep 2021, 07:38, edited 1 time in total.
User avatar
mikeyww
Posts: 26891
Joined: 09 Sep 2014, 18:38

Re: ControlClick does not click on a button at a specific coordinate

18 Sep 2021, 10:19

Try a one-liner with a single click, to get the command working first. See reliability tips. ControlFocus may be another thing to try. There is no guarantee that it will work. You can try running as admin, also not a guarantee.

I suggest that you first test a simple Click command while your target window is active. Use a one-line hotkey to do it.
deffafnq
Posts: 5
Joined: 16 Sep 2021, 15:08

Re: ControlClick does not click on a button at a specific coordinate

18 Sep 2021, 11:21

it doesn’t work are there any more methods?
User avatar
mikeyww
Posts: 26891
Joined: 09 Sep 2014, 18:38

Re: ControlClick does not click on a button at a specific coordinate

18 Sep 2021, 12:09

You can post your one-liner click routine for feedback about it. You may also want to search the forum here to see what solutions others have found for working with Fortnite.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Shoobis and 100 guests