Jump to content

winactivate ie_create


bobthenob
 Share

Recommended Posts

hi im trying to make an uto login program

its working ok but i cant get winactivate to work with ie create

#include <IE.au3>
$oIE = _IECreate()
_IENavigate($oIE, "web address")
WinWaitActive ("window title")
_IELoadWait($oIE)
WinActivate("window title")
send("user")
send("{TAB}")
send("password1")
Send("{ENTER}")
    sleep(28000)
Run("C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE")
sleep(3000)
send ("{f9]")

if i use run ("programfiles blah blah ie web adress")

i can use winactivate

am i doing somthing wrong

Link to comment
Share on other sites

The window title is not matching.

hi thanks for your reply

i copied the window title from the autoit info program

i used the whole title

can i just use part of it?

thanks again for your reply this is driving me nuts im so close but yet so far

in the web page i want to logon is frmLogin can i wait for this to load?

just re read yoour reply do you mean the title dosnt match the window that was loaded?

Edited by bobthenob
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...