Sign in to follow this  
Followers 0
yucatan

Web page

3 posts in this topic

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

Share this post


Link to post
Share on other sites



$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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
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
Sign in to follow this  
Followers 0