Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Wait For Web Page To Load


  • Please log in to reply
1 reply to this topic

#1 shiningmonk

shiningmonk

    Seeker

  • New Members
  • 6 posts

Posted 02 April 2004 - 08:20 AM

I'd like to write a script to automatically log on to a web site.
It needs to:

1) run Internet Explorer on the website
2) hide the window
3) wait for it to finish loading
4) send key strokes
5) unhide the window

I can do 1) and 4), but how do I do the rest?







#2 scriptkitty

scriptkitty

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,274 posts

Posted 02 April 2004 - 04:58 PM

AutoItSetOption("WinDetectHiddenText", 1);1 = Detect hidden text run('C:\Program Files\Internet Explorer\IEXPLORE.EXE <a href='http://hiddensoft.com%27,%27%27,@SW_HIDE' class='bbc_url' title='External link' rel='nofollow external'>http://hiddensoft.com','',@SW_HIDE</a>) sleep(100) winwait("HiddenSoft","Done") controlsend("HiddenSoft","","Internet Explorer_Server1","{pgdn 2}") winsetstate("HiddenSoft","",@SW_RESTORE)

AutoIt3, the MACGYVER Pocket Knife for computers.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users