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
Stop Storing Third-Party Tokens in Your Database
Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Save Web Page Inputs!