bobthenob Posted September 23, 2009 Share Posted September 23, 2009 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 More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 The window title is not matching. github.com/jvanegmond Link to comment Share on other sites More sharing options...
bobthenob Posted September 23, 2009 Author Share Posted September 23, 2009 (edited) The window title is not matching.hi thanks for your replyi copied the window title from the autoit info programi used the whole titlecan i just use part of it?thanks again for your reply this is driving me nuts im so close but yet so farin 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 September 23, 2009 by bobthenob Link to comment Share on other sites More sharing options...
jvanegmond Posted September 23, 2009 Share Posted September 23, 2009 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. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now