Jump to content

ControlSend()


Recommended Posts

Hello everyone,

Need help with ControlSend().

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

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

Why doesn't anything respond?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

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