1 person found this helpful
You can do it using a script. Have a look at the addScript method of the Document object.
With it you can add a doc-level script that will be executed when the file is opened.
Word of warning, though: That script will be executed the moment you add it, so you might want to devise some kind of condition to prevent that, like checking the date or using a global variable or something like that.
Wished I knew what you're talking about try67. I have some simple HTML
pasting existing scripts. If anyone else can walk me through exactly step
by step I'd appreciate it. Thanks try67.
Read the documentation of this method. You can use it to embed a script in a file, and if you use it in an Action it can be done for multiple files.