Jump to content

Recommended Posts

Posted

Hello everyone,

Need help with ControlSend().

$oIE = _IECreate("www.yahoo.com");

ControlSend ("Yahoo! - Microsoft Internet Explorer","","","{TAB 3}{ENTER}")

Why doesn't anything respond?

Posted (edited)

I'm pretty certain that you can't do a ControlSend with just the window title. It needs a control id, I'm pretty sure you could use IE.au3 to do what you are wanting to do. Your only other option is to do something like this.

$oIE = _IECreate("www.yahoo.com")
Send ("{TAB 3}{ENTER}")

EDIT: Changed some stuff.

Edited by bucky002
Posted

I'm pretty certain that you can't do a ControlSend with the window title. It needs a control id not the window title, I'm pretty sure you could use IE.au3 to do what you are wanting to do. Your only other option is to do something like this.

$oIE = _IECreate("www.yahoo.com")
Send ("{TAB 3}{ENTER}")

I am looking more into ControlSend()

Posted (edited)

Does {Tab 3} even exist? Wouldn't it just be {TAB} ?

Yes, does exist. Look at helpfile for tips...

Edit:

Clarity

Edited by MHz

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