I am trying to save a web page for every five minutes - its in a iframe grid widget - i can manually select all and paste but would rather have autokey do it
im using the urldownloadtofile - but cant figure out how to set up time interval - and changing the name of file each time - as well it must run between 930 - 400pm
save web page every 5 minutes
Re: save web page every 5 minutes
Hallo,
try this:
try this:
Code: Select all
#SingleInstance, Force
#Persistent
SetTimer, Make, 1000
Return
Make:
Formattime, Time, %A_now%, HHmm
If ((Time < "0930") Or (Time > "1600"))
Return
StringRight, Minute, Time, 1
If ((Minute <> "0") And (Minute <> "5"))
Return
If (Time <> LastTime)
{
LastTime := Time
UrlDownloadToFile, https://uhr.ptb.de/, %Time%.htm
}
Return
Last edited by Rohwedder on 26 Mar 2017, 07:40, edited 1 time in total.
Re: save web page every 5 minutes
thank you will try it out
Re: save web page every 5 minutes
have just run thru a day of data - it works great pulling the the data- its constatntly changing thru out the day but the data pulled for each time frame was the same as the first - is there a way to refresh the website so it reads a new data
Re: save web page every 5 minutes
Hallo,
I found an error, it must be:
instead of
However, a way to refresh the website, sorry, no idea!
I found an error, it must be:
Code: Select all
LastTime := Time
Code: Select all
LastTime = Time
- smorgasbord
- Posts: 493
- Joined: 30 Sep 2013, 09:34