GodForsakenSoul Posted February 8, 2008 Share Posted February 8, 2008 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? Link to comment Share on other sites More sharing options...
PublicEnemy666 Posted February 8, 2008 Share Posted February 8, 2008 Use Spy - 'AutoIt Window Info'. Kindest Regards, PublicEnemy. Link to comment Share on other sites More sharing options...
SadBunny Posted February 8, 2008 Share Posted February 8, 2008 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. Link to comment Share on other sites More sharing options...
GodForsakenSoul Posted February 8, 2008 Author Share Posted February 8, 2008 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. Link to comment Share on other sites More sharing options...
SadBunny Posted February 8, 2008 Share Posted February 8, 2008 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 toolalt+F6 = macro recorder Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
GodForsakenSoul Posted February 8, 2008 Author Share Posted February 8, 2008 meh... then it probably doesn't have such an option. alright, thanks for your help guys. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now