bioloyx Posted April 18, 2011 Share Posted April 18, 2011 I'm sorry for my lack of knowledge, but I don't know how... Thanks in advance. Link to comment Share on other sites More sharing options...
Rogue5099 Posted April 18, 2011 Share Posted April 18, 2011 $MousePos = MouseGetPos() $MousePos[0] ; Mouse X position $MousePos[1] ; Mouse Y position My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
bioloyx Posted April 18, 2011 Author Share Posted April 18, 2011 how do you use this? sorry... Link to comment Share on other sites More sharing options...
Ace08 Posted April 18, 2011 Share Posted April 18, 2011 (edited) well that depends on how you intend to use the coordiantes rogue5099 already gave what you need or is it not? $MousePos = MouseGetPos() $MousePos[0] ; Mouse X position $MousePos[1] ; Mouse Y position msgbox(0,"Debug","Cursor located at " & $MousePos[0] & "," & $MousePos[1]) Edited April 18, 2011 by Ace08 sanmaodo 1 Work smarter not harder.My First Posted Script: DataBase Link to comment Share on other sites More sharing options...
wakillon Posted April 18, 2011 Share Posted April 18, 2011 I'm sorry for my lack of knowledge, but I don't know how...Thanks in advance.Be serious !when i paste "coordinates" in the search Tab of AutoIt help file, i find :MouseGetPos,_WinAPI_GetMousePos _WinAPI_GetMousePosX_WinAPI_GetMousePosYwith examples ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
CODEXTRM Posted January 16, 2016 Share Posted January 16, 2016 I think what he is asking is , Picture a grid on your screen and move the cursor to any spot on monitor HOW will he know what Cord to enter in his script . kinda like a road map looking for the cord of a st or an ave Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2016 Developers Share Posted January 16, 2016 Welcome @CODEXTRM, You realize you answered a 5 years old topic? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
aa2zz6 Posted January 17, 2016 Share Posted January 17, 2016 AutoIt has a built in application that allows the user to find x and y coordinates. See picture below. Another option is to use this script that displays the coordinates of where the cursor is click on the computer. #include <Misc.au3> HotKeySet("{END}", "_Quit") ; Hit "END" to quit $dll = DllOpen("user32.dll") While 1 If _IsPressed("01", $dll) Then $avMousePos = MouseGetPos() ToolTip("x = " & $avMousePos[0] & " y = " & $avMousePos[1]) EndIf WEnd Func _Quit() DllClose($dll) Exit EndFunc ;==>_Quit And if you want to move the mouse to a certain location and then reset the cursor back in the original position then you can use this piece of code. Sleep(3000) $pos=MouseGetPos() MouseClick("left",200,200,1,0) MouseMove($pos[0],$pos[1],0) Feel free to browse the forums! NetoWrigley, tiye0405 and sanmaodo 3 Link to comment Share on other sites More sharing options...
InunoTaishou Posted January 17, 2016 Share Posted January 17, 2016 Hopefully your post will back to the year 2011 and answer OP's question lmfao Link to comment Share on other sites More sharing options...
aa2zz6 Posted January 17, 2016 Share Posted January 17, 2016 (edited) #backtothefuture #backtothefuture2 Someone will see the post and find it useful. Lol Edited January 17, 2016 by aa2zz6 Asuramaru 1 Link to comment Share on other sites More sharing options...
Wrackz Posted March 12, 2018 Share Posted March 12, 2018 i did thanks a lot. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 12, 2018 Developers Share Posted March 12, 2018 17 minutes ago, Wrackz said: i did thanks a lot. meaning what exactly? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Wrackz Posted March 12, 2018 Share Posted March 12, 2018 Just now, Jos said: meaning what exactly? fumbled but was answering to aa2zz6 Gave me a good idea for my script Link to comment Share on other sites More sharing options...
xCROv Posted March 12, 2018 Share Posted March 12, 2018 This post is old enough to be in school at this point lol. Link to comment Share on other sites More sharing options...
BogdanNicolescu Posted July 11, 2018 Share Posted July 11, 2018 The correct answer is: >>AUTOIT V3<< from where the program is installed. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 11, 2018 Moderators Share Posted July 11, 2018 2 hours ago, BogdanNicolescu said: The correct answer is: >>AUTOIT V3<< from where the program is installed. Your post made no sense whatsoever, and added nothing to the discussion. Please think about what you're typing before you his Enter. FrancescoDiMuro 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
BogdanNicolescu Posted July 11, 2018 Share Posted July 11, 2018 Ok, here is the translation of the question, as i did had this question in mind today when i find this on google and in my despair found that the correct answer wasn't here: He asked: How and From where, should anyone in need, could open mouse capture program. (as it isn't obvious from where can anybody open it) The correct answer is: You have to go in the folder where you installed autoit.exe and open Au3Info.exe I've searched scite menu for a button to open this to no avail ... andrewknewl 1 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 11, 2018 Moderators Share Posted July 11, 2018 That still makes no sense. Plain and simple, explain what you are trying to do. Hopefully you did not begin this thread in an attempt, with your own limited knowledge, to answer someone else's posted question. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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