I discovered that: #target "indesign-12" seems to work for my version of InDesign. Does this mean I need to update these scripts overtime I update to a new version of InDesign?
1 person found this helpful
no. At least not necessarily…
Why do you think, you need the target directive at all?
Without target directive:
If you run your script from the Scripts panel of InDesign the target is automatically the InDesign version you are working with.
Hi Uwe, thanks for your suggestion. When a script is finished I will usually run it from the panel so it's good to know that I don't need the target for that reason. But while I'm working on the script and need the debugger I usually run it from the toolkit. I guess I do need the target directive in those cases?
Great! I didn't know that. I don't really have that much knowledge of the ESTK. Thanks for pointing it out to me!