Как выйти из InDesign и открыть Illustrator с помощью сценариев InDesign? Это мой код:
// closing the InDesign document here
myDocument.close(SaveOptions.NO);
// change the script's target to Illustrator
#target illustrator
app.documents.add(DocumentColorSpace.CMYK, width = 1024, height = 768);
Но здесь скрипт не выходит из InDesign, а только открывает Illustrator. Как я могу решить эту проблему?