Jump to content

CleaverX

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by CleaverX

  1. Thanks to all who replied!! The posts that referenced the IE.au3 includes were the most fascinating and professional. Are there any ways (without the use of the IE include) to determine when a web page is done loading? Perhaps a small example of how to run a VBScript in autoit would do. Thanks again!!! And my wife thanks you. She is no longer frustrated, in fact she thinks the whole auto logon thing is the coolest ever!! The Cleaver
  2. Hello folks, Mr Noob here, how is everyone? Well the title says it all. My wife hates to have to manually sign in at this one portal that she uses often. The people that coded the web site do not allow for auto logon using cookies. So, I wrote an autoit script that does that for her. It works, but....it's lame!!!! This web site does not like Firefox, so she has to use IE. so here is how I am getting it done: Run("C:\Program Files\Internet Explorer\iexplore.exe -nohome");opens a blank page in IE WinWaitActive("Microsoft Internet Explorer");waits for the page to open WinSetState("Microsoft Internet Explorer", "", @SW_MAXIMIZE);maximizes the page for precise mouse control ControlSetText("Microsoft Internet Explorer", "", 41477, "https://my.portal.com");sets the address MouseClick("left", 995, 95);clicks the 'GO' button at the end of the address bar WinWaitActive("My Portal - Microsoft Internet Explorer");waits for the page to open Sleep(5000);pauses 5 seconds to make sure the page is done loading Send("{CAPSLOCK}username{TAB}password{TAB}{TAB}{ENTER}");auto fills the user name and pw fields ; clicks the 'Log on' button Sleep(5000);pauses 5 seconds to make sure the page is done loading MouseClick("left", 85, 415);clicks the link to the destination page After you folks are done laughing, pleeeease set me straight. I have no pride, and all comments are welcome. Thanks
×
×
  • Create New...