Jump to content

IE loop help


Recommended Posts

Sorry, here it is..

While 1

#include <IE.au3>

; Create a browser window and navigate to Site

$oIE = _IECreate("http://www.us.trumpf.com")

Send("{F11}")

;make IE Full Screen

Sleep(5000)

;Scrolls Down the Page

MouseClickDrag("left", 1269, 24, 1272, 186, 1)

Sleep(5000)

MouseClickDrag("left", 1272, 186, 1272, 344, 1)

Sleep(5000)

MouseClickDrag("left", 1272, 344, 1272, 644, 1)

Send ("{F11}")

ProcessClose("iexplore.exe")

$PID = ProcessExists("iexplore.exe") ; Will return the PID or 0 if the process isn't found.

If $PID Then ProcessClose($PID)

WEnd

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...