Yesterday I went on the discord and made a script in which you can control 3 identical open processes at once... the discord experts think the script is fine but that there is something stopping my script from recognising my open processes... i'm running windows 10 and the programs i want to control are java applications!
Lbutton::
WinGet, OutputVar, list, Nameoftheprogram,
SetTitleMatchMode 2
SetTitleMatchMode, slow
Mousegetpos, xx, yy
ControlClick, x%xx%, y%yy%, ahk_id %OutputVar1%
ControlClick, x%xx%, y%yy%, ahk_id %OutputVar2%
ControlClick, x%xx%, y%yy%, ahk_id %OutputVar3%
return
can anyone help me?
Earn €5 by solving my problem! windows 10 related
Re: Earn €5 by solving my problem! windows 10 related
JAVA & AHK is kinda tricky. Check this out: https://autohotkey.com/boards/viewtopic.php?t=34666
https://www.google.de/search?q=site%3Aa ... +java+2017
https://www.google.de/search?q=site%3Aa ... +java+2017
Re: Earn €5 by solving my problem! windows 10 related
Java programs might give you incorrect coordinates, you can try to adjust the coordinates by a fixed amount. Eg add 20 to the y coordinate. If the problem is misplaced clicks that is, you didn't specify.
You can try to use
to see if the clicks are misplaced by controlclicking on and around something that is clickable.
You can try to use
Code: Select all
F1::
mousegetpos,x,y
; y+=20 ; Try this in the java window
ControlClick, x%x% y%y%,A
return
Who is online
Users browsing this forum: filipemb and 309 guests