Isolate/Unisolate commands
Commands:
//menu Other Object\Isolate Selected Object
app.executeMenuCommand('enterFocus');
//menu Other Object\Exit Isolation Mode
app.executeMenuCommand('exitFocus');
Return error:
an Illustrator error occurred: 1346458189 ('PARM').
This applies not only to isolation, but also to some other commands.
9
votes
Oleg Krasnov
shared this idea
-
Oleg Krasnov commented
List of all commands that return an error: https://pastebin.com/25Y28J32
this applies to app.executeMenuCommand('command') and app.selectTool('command')