CraigA Posted October 29, 2007 Share Posted October 29, 2007 My goal is to write a script that watches for a IE window with a title: "LOGIN - " and then enters a user id and password. This login page is common for many web pages. Originally, I was writing a new script for each web page that needed this authentication using the IE Management functions. Each script would use Local $oIE = _IECreate (...) to launch the page and call _login($oIE) if needed. Wanting just one script that constantly monitors for the "LOGIN - " page, I thought I would use WinWaitActive(). While 1 ; Loop Forever. WinWaitActive("[TITLE:LOGIN - ; CLASS:IEFrame]", "") ;??? get reference to the IE object ??? _login($oIE) ; There was a "Login" form, so login. WEnd How can I get a reference to the IE object so I can continue to use IE Managment functions? Thanks, Craig Link to comment Share on other sites More sharing options...
Nahuel Posted October 29, 2007 Share Posted October 29, 2007 Hi. _IEAttach() Bye. Link to comment Share on other sites More sharing options...
CraigA Posted October 29, 2007 Author Share Posted October 29, 2007 Holly Blinky, I overlooked that one and I will give it a try. Thanks so much, Craig 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