Jump to content

Recommended Posts

Posted (edited)

Hi!

I've been working with the _IE tools and the forums helped me a lot, but i don't know how to deal with this.

I must click on a link that when i click it, pops out a little dialog asking you a YES/No question.

Here's the code of the onclick event from the HTML.

onclick="if ( !confirm ('//some prompt text') ) { return false; }"

I've tried some things with the _IEAction command, without success.

Any help would be appreciated.

I attached a screenshot of the prompt window too.

Posted Image

Thx in advance!

Edited by Soulstriker
Posted

Java is a killer for AutoIT, but you can easily send an Enter or something to that box. Shouldnt be that hard, if you can name the website we can have a look.

Posted

Hi! Thx for the replies!

Ok, I found out that when that box pops out, the script, for some unknown reason stop executing, and anything else that should happen after that box, doesn't happen.

What I did was try some control commands. Something curious was that ControlClick didn't work but ControlSend did.

I made another script that executes before clicking the link and sends an Enter key to the box.

It worked perfect.

Thx for the help!

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
×
×
  • Create New...