Sign in to follow this  
Followers 0
GodForsakenSoul

move mouse thing.

6 posts in this topic

i want to transport fully from actool (other macro making thing) to autoit because autoit has the ability to cramp my macro into a .exe and plant it in other computers.

however, what stops me from fully using autoit is the fact that i can never get the coordinates of the mouse.

in actool, i'd pick my location, ctrl+m it in actool and i get this kind of line in it automaticly

mousepos xxx, yyy

and the mouse moves there. (well, teleports. that's one of the reasons i want to use autoit. i can make the mouse actually MOVE.)

however, i didn't find this option in autoit.

i CAN use actool to find the coordinates, copy them and paste in autoit, but i don't want to. i want to use only autoit to make macros.

the help file for the MouseMove command didn't mention any way of discovering the coordinates of the mouse.

question: how do you find out the coordinates of the mouse in autoit?

Share this post


Link to post
Share on other sites



Use Spy - 'AutoIt Window Info'.

Kindest Regards, PublicEnemy.

Share this post


Link to post
Share on other sites

Would this answer your questions?

Dim $a = MouseGetPos()
MsgBox(0,"Current mouse coordinates","x: "&$a[0]&@CRLF&"y: "&$a[1]&@CRLF&@CRLF&"Click OK to move mouse instantly to coordinates 300,300.")
MouseMove(300,300,0)

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

no, see, i need the mouse to move to a certain point.

except i don't know the coordinates of said point.

what i'm asking is, is there a way to find the coordinates of a point, without leaving the autoit editor window?

like, ctrl+m in actool.

Share this post


Link to post
Share on other sites

no, see, i need the mouse to move to a certain point.

except i don't know the coordinates of said point.

what i'm asking is, is there a way to find the coordinates of a point, without leaving the autoit editor window?

like, ctrl+m in actool.

I have no idea what ctrl+m does in actool, but in this light I'd suggest following PE666's suggestion.

ctrl+F6 = autoit window info tool

alt+F6 = macro recorder


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

meh... then it probably doesn't have such an option.

alright, thanks for your help guys.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0