Jump to content

Send keys in IE


Recommended Posts

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?

Link to comment
Share on other sites

Thank you, finaly i fixed it:)

func innfree2()
    $innfree3 = GUICtrlRead($innfree2)
    $chat   =   _IEGetObjById($oIE,"chatarea")
    $chat.innerHTML = $innfree3
    $chat.focus()
    Send("{enter}")
    EndFunc
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...