Need help with mouse corrds

Get help with using AutoHotkey and its commands and hotkeys
FLUFFALO
Posts: 2
Joined: 21 Apr 2018, 20:33

Need help with mouse corrds

21 Apr 2018, 20:37

Im using this script for a game of mine, but when i put in the cords using a cord finder exe. I put it in as needed but it seems off, is it because the program cords would be diff then the cords of my entire screen? how can i find these?


Heres the script, thanks


#Persistent
DetectHiddenWindows, On

SetTimer, TimeLapse, 600000
return

TimeLapse:
WinGetActiveTitle, Title
WinWait, Ragnarok,
IfWinNotActive, Ragnarok, , WinActivate, Ragnarok,
WinWaitActive, Ragnarok,

Loop, 1
{
BlockInput, MouseMove
MouseClick, left, xx, xx
BlockInput, MouseMoveoff
Sleep, 1000

MouseClick, left, xx, xx
BlockInput, MouseMoveoff
sleep, 1000
}
WinActivate, %title%
return
FLUFFALO
Posts: 2
Joined: 21 Apr 2018, 20:33

Re: Need help with mouse corrds

21 Apr 2018, 20:58

I believe ive gotten the coords using window spy, however still have an issue getting it to actually click, thanks

Return to “Ask For Help”

Who is online

Users browsing this forum: Flipeador, Scribble, wertbo, Zodie and 37 guests