styles3000 Posted July 9, 2009 Share Posted July 9, 2009 (edited) I want AutoIT to select documents through the Control Function below....... The only issue is, I don't know how to place the coordinates within the function. Could someone help me out? ControlFocus("Step 1 - Keyword Selection", "", "SysListView321") ControlSend("Step 1 - Keyword Selection", "", "SysListView321","{ENTER}") Edited July 9, 2009 by styles3000 Link to comment Share on other sites More sharing options...
herewasplato Posted July 11, 2009 Share Posted July 11, 2009 Try ControlClick instead of ControlSend [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
styles3000 Posted July 12, 2009 Author Share Posted July 12, 2009 I've tried to place this....ControlClick ( "title", "text", controlID [, button [, x [, y ]]]) But I got this error...... C:\Objects To Burn\AutoIT Scripts\Test.au3(14,43) : ERROR: syntax error ControlClick ( "title", "text", controlID [ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ When I place the function , should I do it like this...ControlClick ( "title", "text", "controlID" [, "button" [, "x" [, "y" ]]]) When I did that, I got this error......C:\Objects To Burn\AutoIT Scripts\Test.au3(14,45) : ERROR: syntax error ControlClick ( "title", "text", "controlID" [ What could I be doing wrong? I'm finding out that mouse clicks are inconsistent. I'm looking for more reliability and stability. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 12, 2009 Share Posted July 12, 2009 You can't use the function syntax description at the top of the page, try the example script.. that'll work for ya - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
styles3000 Posted July 16, 2009 Author Share Posted July 16, 2009 You can't use the function syntax description at the top of the page, try the example script.. that'll work for yaI've attached a pdf file of the problem I'm having with the controlclick function. Every time I place the code, the color changes and it gives me an error. I copied and pasted the function directly from the help file. What could be the problem? 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