Page 1 of 1

desired [read .html page and update filename]

PostPosted: Wed Jul 18, 2018 8:24 pm
by NoodleNewbie
Hi
I would very much like it, if Hazel
1 could read the contents of 1 offlines html page (with filename = filename.html) and
2 find the value for y,
3 then update the filename.html to y+oldfilename.html.

The webpage is downloaded from the website once a week and saved with filename= filename.html on mac harddrive.

I am wondering if this task is this beyond hazel as I could not find any function for "read html page/search contents of documents" or something similar.

Thankyou for your help

Re: desired [read .html page and update filename]

PostPosted: Thu Jul 19, 2018 10:35 am
by Mr_Noodle
You can use "Contents contain match" to do that. Check the manual for "match patterns" on how to use the pattern matching feature.

Re: desired [read .html page and update filename]

PostPosted: Fri Jul 20, 2018 8:35 pm
by NoodleNewbie
Thankyou! will do