A JavaScript function called getNewHtml() determines what the html of a file would be, if the user's inputs were hard-coded into the html. The function then returns a string of characters with this information.
An AppleScript called replaceHtml.scpt calls getNewHtml(), and sets string_to_write to the content of an .html file. The AppleScript then write the string to a TextWrangler file.
This is a first rough draft of the JavaScript and AppleScript, but both work now.
Follow Save Web Page Inputs
Other Useful Business Software
Compliant and Reliable File Transfers Backed by Top Security Certifications
Stop relying on non-certified, legacy file transfer tools that creak under the weight of modern security demands. Get full audit trails, advanced access controls and more supported by an award-winning team of experts. Start your free 25-day trial today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Save Web Page Inputs!