Sign in to follow this  
Followers 0
dat

ControlSend()

7 posts in this topic

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



#2 ·  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

Share this post


Link to post
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()

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#5 ·  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

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

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  
Followers 0