Jump to content

Recommended Posts

Posted

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.

Posted

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

:)

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...