Sign in to follow this  
Followers 0
bobthenob

winactivate ie_create

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

Yes, you can always use a part of it. : )

Look up in the help file the AutoIt option: WinTitleMatchMode

The default for window matching is from the start. You can use partial if you want, or more advanced.

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