Batch converting layers on insets...So close, but need help!
- June 22, 2023
- 1 reply
- 1446 views
Hi--I found a free Javascript online that ALMOST does what I want it to. But it appears to be missing (for me) the most important feature. I'm hoping that someone here can modify it for me or point me towards something that will accomplish the task. (The original author seems to have been offline since 2019.)
What I want to create is a document made up of several placed external files. Each placed file is multi-lingual, with translations contained on separate layers. For example, each placed file has English text on layer EN, French text on layer FR, Spanish text on layer ES, etc. My goal is to run the script while in the "parent" document--allowing me to choose the desired translated layer and have all of the placed files "flip" to the correct translation. The script I found (text file version attached) ALMOST works...however, it does not seem to "batch" convert all the placed files at once. For example, I placed 3 files on the parent document as a test, ran the script, and selected FR. It only "flipped" one of them. The others stayed as I originally saved them, with all four layers showing. I only got the other two to "flip" by selecting each one individually and running the script on each file.
What's missing from the attached script that won't allow me to run this and "flip" everything at once? Can it be fixed easily? Or is there a better solution? I appreciate any help that I can get with this. Thank you!