I have several thousand recipes that are named; "recipe-001.html", "recipe-002.html", "recipe-003.html", etc. I would like to create an Applescript that opens each file, copies the name between my tags <h1>Chicken and Rice</h1> in that file, close the file and rename that file to the h1 name with proper naming structure of lowercase and underscores, i.e., "chicken_and_rice.html" -- and then repeat the same process for each additional recipe file.
Any suggestions would greatly be appreciated.
Any suggestions would greatly be appreciated.