Mouse CoordMode

Ask gaming related questions
Posts: 2
Joined: 11 Jan 2020, 10:45

Mouse CoordMode

11 Jan 2020, 11:01

Hi there i'm trying to creat a script that save my all clicks position and save them into to a mouseclicks.txt file,

inside txt file,
position 1 => xx, yy
position 2 => xx, yy
position 3 => xx, yy
position 4 => xx, yy
position n => xx, yy


Code: Select all

CoordMode, Mouse, Screen
SetTimer, Check, 20

MouseGetPos, xx, yy
Tooltip %xx%`, %yy%
FileAppend, %xx%, %pos1%
OutputMessage = Click, %RulerRelX%`,%RulerRelY%, 0`nSleep, 16
Clipboard = %OutputMessage%
Plz help. :)
User avatar
Posts: 19
Joined: 23 May 2017, 12:55

Re: Mouse CoordMode

12 Jan 2020, 07:54

Hello Willa63

You should try AutoScriptWriter (it was packaged with AHK in its older versions:
It records all your actions (including clicks and mouse positions) and gives a text of this record, that you can save as an .AHK file.
After, you can edit it to fit your needs.

Look also this topic:

Good luck.
Posts: 2
Joined: 11 Jan 2020, 10:45

Re: Mouse CoordMode

16 Jan 2020, 08:11

thank you that was very help full

Return to “Gaming”

Who is online

Users browsing this forum: bruno03rs, w0z and 12 guests