carabusu Posted February 26, 2008 Share Posted February 26, 2008 i have this line: ControlClick( "Microsoft Internet Explorer","Are you sure you want to remove this server from the list?","[TEXT:OK]") and it does not work; i really need to use [TEXT:] option The title and text window are ok because the ControlClick( "Microsoft Internet Explorer","Are you sure you want to remove this server from the list?",1) command with the controlId paramater is working. Please see the attachment to see the pictures with the window Tnx. Link to comment Share on other sites More sharing options...
MHz Posted February 26, 2008 Share Posted February 26, 2008 i really need to use [TEXT:] optionWell [TEXT:] is not available with that syntax used. TITLE - Window title CLASS - The internal window classname REGEXPTITLE - Window title using a regular expression (if the regular expression is wrong @error will be set to 2) LAST - Last window used in a previous AutoIt command ACTIVE - Currently active window INSTANCE - The 1-based instance when all given properties matchTry it this way. That is how I specify the text of a control to click. ControlClick("Microsoft Internet Explorer", "Are you sure you want to remove this server from the list?", "OK") Link to comment Share on other sites More sharing options...
carabusu Posted February 26, 2008 Author Share Posted February 26, 2008 Well [TEXT:] is not available with that syntax used. Try it this way. That is how I specify the text of a control to click. ControlClick("Microsoft Internet Explorer", "Are you sure you want to remove this server from the list?", "OK") tnx a lot, it's working 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