supadodger Posted December 17, 2010 Posted December 17, 2010 (edited) fixed, sorry here is working code... #include <Inet.au3> Opt("TrayIconDebug", 1) SoundPlay("C:\Windows\winsxs\x86_microsoft-windows-s..soundthemes-savanna_31bf3856ad364e35_6.1.7600.16385_none_28e34d1952a3a85c\Windows Ding.wav") $Data = _INetGetSource("http://cincinnati.craigslist.org/sys/") While 1 $Data2 = _INetGetSource("http://cincinnati.craigslist.org/sys/") If $Data2 <> $Data Then $Data = _INetGetSource("http://cincinnati.craigslist.org/sys/") ShellExecute("http://cincinnati.craigslist.org/sys/") EndIf For $x = 1 To 30 TrayTip("Next Check In", $x & " of 30 Seconds", 1000) Sleep(1000) Next WEnd Edited December 17, 2010 by supadodger
somdcomputerguy Posted December 17, 2010 Posted December 17, 2010 Here is a script I wrote that I use to monitor a webpage and let me know if a certain line of text doesn't exist anymore. This isn't exactly what you want I think, but it may help you, if you do need some help.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
wakillon Posted December 17, 2010 Posted December 17, 2010 A bit simplified ! #include <Inet.au3> Global $DataOld, $x, $_Url='http://cincinnati.craigslist.org/sys/' While 1 $Data = _INetGetSource ( $_Url ) If $Data <> $DataOld And $x > 1 Then ShellExecute ( $_Url ) For $x = 1 To 30 TrayTip ( "Next Check In", 31-$x & " Seconds", 1000 ) Sleep ( 1000 ) Next $DataOld=$Data WEnd AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0 - WIN 11 24H2 X64 - Other Examples Scripts
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