Jump to content

Recommended Posts

Posted (edited)

I can't figureout how to send a command to a window that apears when i refresh th embedded IE.

Here is a screen.

post-18538-1165442293_thumb.jpg

Edited by Mamba
Posted (edited)

What have you tried?

ControlSend("regexp=NeverLands.Ru - Come As You Are - (Microsoft)|(Windows) Internet Explorer", "", 4, "!{asc 114}")

ControlClick (regexp=NeverLands.Ru - Come As You Are - (Microsoft)|(Windows) Internet Explorer", "", 4)

Edited by Mamba
Posted

Try:

ControlClick("Microsoft Internet Explorer", "", "4")
;Or
ControlClick("Microsoft Internet Explorer", "", "Button1")
;Or
ControlSend("Microsoft Internet Explorer", "", "", "!r")

Or some variation on those.

IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
Posted (edited)

Now i have another problem, the thing is that script refresh the page by itself

so this piece of code is stuck after COntrolSend with refresh command, like is waiting for something

ControlSend("Title of GUI with Embedded IE", "", "", "^{F5}")
sleep(2000);
ControlSend("Microsoft Internet Explorer", "", "", "!{asc 114}")

In the help file is nothing about this wait.

Edited by Mamba

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...