taylansan Posted May 20, 2007 Share Posted May 20, 2007 hi, lets say i wantto click on the screen at 500,500 position MouseClick("left", 500, 500, 1, 0) for instant MouseClick("left", 500, 500, 1, 1) for fastest if the mouse was at 100,100 position, after this commant mouse will move on to 500,500 now i wonder how can i click at 500,500 without using MouseClick... plz dont say, after u complete it, MouseMove(100, 100, 0) tnx for answering TY. Link to comment Share on other sites More sharing options...
GaryFrost Posted May 20, 2007 Share Posted May 20, 2007 ControlClick SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
star2 Posted May 20, 2007 Share Posted May 20, 2007 now i wonder how can i click at 500,500 without using MouseClick...check help file it realy has alot of valuable info [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
taylansan Posted May 20, 2007 Author Share Posted May 20, 2007 check help file it realy has alot of valuable info then show me 1 to gafrost thank you but i cant click at 500,500 using that command -.- TY. Link to comment Share on other sites More sharing options...
Gif Posted May 20, 2007 Share Posted May 20, 2007 check help file it realy has alot of valuable info also functions and Au3lib Link to comment Share on other sites More sharing options...
GaryFrost Posted May 20, 2007 Share Posted May 20, 2007 then show me 1 to gafrost thank you but i cant click at 500,500 using that command -.-I suspect you can't get the control Id and your trying to click on some game coord without showing the mouse movement. Good Luck. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
taylansan Posted May 20, 2007 Author Share Posted May 20, 2007 ControlClick ( "title", "text", controlID [, button] [, clicks]] ) ControlClick("Untitled -", "", "MDIClient1") how can i get the controlID? and may i bother u if i want a mini example with ControlClick? TY. Link to comment Share on other sites More sharing options...
ksmith247 Posted May 20, 2007 Share Posted May 20, 2007 ControlClick ( "title", "text", controlID [, button] [, clicks]] ) ControlClick("Untitled -", "", "MDIClient1") how can i get the controlID? and may i bother u if i want a mini example with ControlClick? Use AutoIt Window Info to get the control ID Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.[size="2"]#include <Guinness.pint>[/size] Link to comment Share on other sites More sharing options...
taylansan Posted May 20, 2007 Author Share Posted May 20, 2007 controlID is generally Edit1 right?btw; if i run notepad.exe and sayControlClick("Untitled -", "", "Edit1", "right")then it right clicks on the center of notepad window, and puts it on top. thats okif i move (drag) the notepad window to the other side on the screen, again center of the windowit always clicks on the center of the window? or can i do the click operaion on a specific point? TY. Link to comment Share on other sites More sharing options...
GaryFrost Posted May 20, 2007 Share Posted May 20, 2007 just use the x y coords ControlClick("Untitled -", "", "Edit1", "right", 1, 50, 20) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
taylansan Posted May 20, 2007 Author Share Posted May 20, 2007 just use the x y coords ControlClick("Untitled -", "", "Edit1", "right", 1, 50, 20)C:\Program Files\AutoIt3\Examplesmy\zzz2.au3 (12) : ==> Incorrect number of parameters in function call.: if it works on u, then maybe my auoto it isnt up to date? TY. Link to comment Share on other sites More sharing options...
Helge Posted May 20, 2007 Share Posted May 20, 2007 if it works on u, then maybe my auoto it isnt up to date?You need 3.2.4.0 or newer : http://www.autoitscript.com/autoit3/downloads.php MsgBox(64, "", @AutoItVersion) Link to comment Share on other sites More sharing options...
taylansan Posted May 20, 2007 Author Share Posted May 20, 2007 i had 3.2.2.0 and newer version is worked... 10x all ppl posting TY. 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