gbfan10 Posted August 5, 2008 Share Posted August 5, 2008 I am trying to get controlclick to click the 4th tab on a menu. I have an ID 12320 and control click coords of 194,13 I am having a hard time getting them into the correct syntax for autoit. here is what I have tried.. ;ControlClick("Microsoft Exchange Server", "", "194, 9") ;ControlClick("[class:12320; instance:4]" ;ControlClick("[iD:12320]"[194,[13]]) The help file shows this ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] ) Does that mean i repalce the text "controlID" with the actual control ID # 12320 or do I use the text "controlID:1230"? Link to comment Share on other sites More sharing options...
herewasplato Posted August 5, 2008 Share Posted August 5, 2008 Welcome to the forum.You cannot skip parameters:ControlClick("Microsoft Exchange Server", "", "194, 9")ControlClick ( "title", "text", controlID, button, clicks, x, y)You skipped the ones that I marked in red to get to the coordinates.If you copy/paste/post the contents of the AutoIt Window Info tool's control tab - I'm sure that someone will stop by and help you formulate the correct syntax for your control click. You can also check the return from controlclick via a consolewrite or msgbox to see if AutoIt found the Control as you specified it. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Zedna Posted August 5, 2008 Share Posted August 5, 2008 ControlClick ("Microsoft Exchange Server", "", 12320, "left", 1, 194, 9) Resources UDF ResourcesEx UDF AutoIt Forum Search 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