Sign in to follow this  
Followers 0
matthewst

Getting an error, but only after I compile my script.

5 posts in this topic

here is the script

#include <IE.au3>

Opt("WinTitleMatchMode", 4)

$sURL = "https://intranet/internalpage.asp"
$f_visible = 0
$oIE = _IECreate($sURL, $f_visible, 0)
$hwnd = _IEPropertyGet($oIE, "hwnd")
WinSetState($hwnd, "", "")
_IEAction($oIE, "")

$sHTML = _IEBodyReadHTML($oIE)

While WinExists($hwnd)
    _IEAction($oIE, "refresh")
    $sTemp = _IEBodyReadHTML($oIE)
    If $sTemp <> $sHTML Then
        MsgBox(0, "", "New Update!")
        $sHTML = $sTemp
    EndIf
   ; Change this to control the time between checks
    Sleep(5000)
WEnd

Share this post


Link to post
Share on other sites



What version are you compiling with?


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I'm retarded...

when i compiled with the beta it worked fine

Thanks smoke!

Share this post


Link to post
Share on other sites

I'm retarded...

when i compiled with the beta it worked fine

Thanks smoke!

You said it not us....

http://www.autoitscript.com/fileman/users/gafrost/heresyoursign.jpg

lol


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

I'm retarded...

when i compiled with the beta it worked fine

Thanks smoke!

I would expect the script to work with the v3.2.0.1 release version also. :)

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