tracking coords

Ask gaming related questions (AHK v1.1 and older)
ash78
Posts: 3
Joined: 22 May 2022, 15:53

tracking coords

Post by ash78 » 22 May 2022, 16:32

how would i get autohotkey to like read the coordinates of the screen
because what im trying to do is get the software to automatically run to the destination by checking the cordinated and confirming if its getting closer or further away
im new to ahk thats why im asking sorry if this is a repeat

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

Re: tracking coords

Post by mikeyww » 22 May 2022, 16:45

Welcome to this AutoHotkey forum!

:arrow: MouseGetPosExample

User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: tracking coords

Post by tidbit » 23 May 2022, 12:43

what's the capital of Minnesota, usa, ash?
rawr. fear me.
*poke*
Is it December 21, 2012 yet?

ash78
Posts: 3
Joined: 22 May 2022, 15:53

Re: tracking coords

Post by ash78 » 23 May 2022, 21:56

tidbit wrote:
23 May 2022, 12:43
what's the capital of Minnesota, usa, ash?
minnesota is a state ? and the state capital is st paul

ash78
Posts: 3
Joined: 22 May 2022, 15:53

Re: tracking coords

Post by ash78 » 23 May 2022, 22:04

image.png
image.png (28.24 KiB) Viewed 663 times
this is what im looking to track so the game has a map, and i want to be able to use the map to track the coords and have the player move to those coords automatically i know there will be alot of work involved in this i think
Attachments
image.png
image.png (28.24 KiB) Viewed 663 times
image.png
image.png (28.24 KiB) Viewed 663 times

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

Re: tracking coords

Post by mikeyww » 24 May 2022, 04:54

You may want to search the forum for some techniques, according to whether this is:
1. HTML text in a Web browser => Could look for JavaScript approaches in AHK (some by teadrinker)
2. Text in a program's control => ControlGetText (an AHK command)
3. An image => OCR (AHK scripts or libraries such as FindText, OCR, Vis2)

Good luck!

Post Reply

Return to “Gaming Help (v1)”