Sign in to follow this  
Followers 0
carabusu

ControlClick does not work

3 posts in this topic

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

post-23107-1204013168_thumb.jpg

Tnx.

Share this post


Link to post
Share on other sites



i really need to use [TEXT:] option

Well [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 match

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")

:)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0