#target bridge problem
Hello,
I have a problem with a javascript (extendscript) I wrote for AI, PS, ID and IC. See https://www.behance.net/gallery/134777275/Javascript-for-AI-PS-and-ID-restore-files-from-CClib
To get it run in Bridge as well I added "target bridge". AI and PS will ignore this line, but ID and IC will start the Bridge instead to run it in ID or IC.
I created two versions: one for AI, PS, ID and IC (without #target) and one for Bridge (with #target).
But I think, that can't be the best solution, can it?
If there no #if #else like in C++ to check which #target is the right one?
– j.
