Jump to content
Sign in to follow this  
dat

ControlSend()

Recommended Posts

dat

Hello everyone,

Need help with ControlSend().

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

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

Why doesn't anything respond?

Share this post


Link to post
Share on other sites
bucky002

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

Share this post


Link to post
Share on other sites
dat

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

Share this post


Link to post
Share on other sites
bucky002

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

Share this post


Link to post
Share on other sites
MHz

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

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

Edit:

Clarity

Edited by MHz

Share this post


Link to post
Share on other sites
bucky002

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

Edit:

Clarity

Ok, I was wondering. Edited by bucky002

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.