BooMeR Posted April 23, 2005 Share Posted April 23, 2005 What is the command for AutoIt to send the LeftClick command to the current x and y position of the mouse? Link to comment Share on other sites More sharing options...
Ejoc Posted April 23, 2005 Share Posted April 23, 2005 $szFunc = "MouseClick" $szFile = RegRead("HKLM\SOFTWARE\AutoIt v3\AutoIt","InstallDir") if $szFile <> "" Then Run(@ComSpec & ' /c START "" "' & $szFile & '\AutoIt.chm"',"",@SW_HIDE) WinWait("AutoIt Help") Send("!n" & $szFunc & "{ENTER}") Endif Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
BooMeR Posted April 23, 2005 Author Share Posted April 23, 2005 how about multiple times? Link to comment Share on other sites More sharing options...
buzz44 Posted April 23, 2005 Share Posted April 23, 2005 (edited) Read the help file...MouseClick ( "button" [, x, y [, clicks [, speed ]]] )Actually. Just read.Hint: Clicks Edited April 23, 2005 by Burrup qq Link to comment Share on other sites More sharing options...
BooMeR Posted April 23, 2005 Author Share Posted April 23, 2005 (edited) Dam i posted in the wrong section, i have V.2, can anyone move this puhlzz? lol srry, im totally new to "real" scripting ehh srry i dont think im getting you, can u put that in an example? Edited April 23, 2005 by BooMeR Link to comment Share on other sites More sharing options...
herewasplato Posted April 23, 2005 Share Posted April 23, 2005 If you are new, then why learn V2? Why not upgrade to V3? These are not rhetorical questions! :-) [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
MarkMarkMark Posted April 23, 2005 Share Posted April 23, 2005 $Mousepos = MouseGetPos() This sould get you started Link to comment Share on other sites More sharing options...
herewasplato Posted April 23, 2005 Share Posted April 23, 2005 (edited) $Mousepos = MouseGetPos()This sould get you started<{POST_SNAPBACK}>... I must resist the temptation to write a useless post ...... I must resist ...... I must ...Warning: useless post below!BooMeR has version 2 of AutoIt and has reposted this question to the V2 area.You could write a script that has a hotkey function which sends the click to the current position of the mouse. Did V2 have hotkey? ...been too long.run scriptmanually move mouse to the desired positionpress hotkeythe script will then"send the LeftClick command to the current x and y position of the mouse"the script can then exit or loop as desired.perhaps a useful script until you can replace that defective mouse Edited April 23, 2005 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] 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