I have a couple of scripts heavily in use that required they be built as part of a batch sequence, as they deal with multiple PDFs..
These scripts are fairly large (one about 1000 lines, one in excess of 3000 lines) with the potential to get even larger.
Additionally, several requests for scripts are rolling down the line that look to be of similar or greater size.
The Adobe Acrobat editor is just not a good fit for building such large scripts. I have switched the editor to UltraEdit, which is a much more capable editor.
Is there any way to save the script to a XXX.js file and just copy the new js file over the old XXX.js file? I've looked at addscript but was not reassured by its examples in the Batch Sequence PDF that it could do the job I need it to do..
If the script is embedded in the Action then all you have to do is export
the Action file and then import it in the other computer... The script will
be an integral part of that file.
Thank you. Though I would have preferred something a bit simpler, the import/export method you suggest is indeed simpler than the process I was using. It still has its warts and wrinkles, but with practice I am sure I can find ways to minimize those minor irritants.
The method you described will also work, ie: Place the code in a function
in a folder-level js file, and call that function from your Action. But
then you would need to copy 2 files over (the .js and the .sequ) instead of
just one, so I think my suggestion is simpler in terms of portability.