Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Page Monitor
#1
Hi,
Is there a macro that watches a web page and emails an alert when the page changes?
Thanks!
#2
You'd get the text from the URL using IntGetFile,

Then load data into a string from previous IntGetFile that was stored in a text file
Code:
Copy      Help
s.getfile("c:\URL.txt")

Compare the current data with findrx to look at specific areas of focus with the text stored from the previous.

Then you'd use the SendMail function to notify you.

Save the new data to the text file
Code:
Copy      Help
s.setfile("c:\URL.txt")

Put the whole thing in a loop with a wait or schedule as a task that runs in intervals. Loop would need more error management (i.e. Webpage unavailable due to internet connection being lost)


-Jimmy Vig


Forum Jump:


Users browsing this thread: 1 Guest(s)