yucatan Posted January 10, 2011 Share Posted January 10, 2011 Hello guys, I wanne make a check for a website. if the website is open in the browser (if hidden and if show) then refresh. but i'm having some problems with _IEAction this is the script #include <IE.au3> while 1 If WinExists("Powerhouse - Prijzen - Endex - Windows Internet Explorer") Then $window=WinGetHandle("Powerhouse - Prijzen - Endex - Windows Internet Explorer") _IEAction ($window, "refresh") ConsoleWrite("Refresh"&@CRLF) EndIf sleep(6000) WEnd Link to comment Share on other sites More sharing options...
JohnOne Posted January 10, 2011 Share Posted January 10, 2011 $window, is a handle to the window, you need an object as returned by _IECreate(), _IEAttach(). Also do you realize that your code (if it were correct) would just sit in a loop constantly refreshing the page? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
yucatan Posted January 10, 2011 Author Share Posted January 10, 2011 yeah i know its a web page that display's some statistics. they use it as a display. like now the stats are allways actualy. so yeah i know its a loop thanks alot! 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