Jump to content
Sign in to follow this  
Harabo

Send keys in IE

Recommended Posts

Harabo

Hello.

Im making a nice little program, and i have a internet explorer included. And i have some buttons. And when i push the button, i want it to send F4. But when i push the button, its send F4 outside of the IE window.

Is it possible to always have the IE on top? I also want to bush a button, and it send some text in a chat.

Can someone help me?

Share this post


Link to post
Share on other sites
exodius

Suggestion: Posting your code usually yields you better help.

Share this post


Link to post
Share on other sites
Harabo

Thank you, finaly i fixed it:)

func innfree2()
    $innfree3 = GUICtrlRead($innfree2)
    $chat   =   _IEGetObjById($oIE,"chatarea")
    $chat.innerHTML = $innfree3
    $chat.focus()
    Send("{enter}")
    EndFunc

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.