Running an Action from script
In Illustrator CC latest update, my following script does not work:
1- Select a couple paths (in script) (all of them close paths in different groups)
2- execute my action which offset paths with certain amount
The problem is in this new version after the action dis-select all of them except one, but before this version it worked and keep all of my selection paths still as selected ( by path I mean the new offset paths, but for all of them)
It really made trouble for my script in the company, because some computer still does not have the latest CC.
Apologies for the inconvenience caused to you.
The bug is not completely fixed and still under investigation.
Will update once we have fix available.
25.2.3 Still nothing...
Sergey Osokin commented
Mac OS latest release 25.2. Bug with lost selection after run action from script not fixed. May appear due to different launch methods:
drag & drop script to Ai window,
run from File > Scripts menu,
run directly from VSCode.
25.2.1 — the same thing.
25.2 Still not fixed.
Running an action from script still does not work for me in Illustrator 25.1. The bug persists.
I still can not get actions to run from a script in version 25.1
I am unhappy to share that the bug is still here.
In AI 24 running the script with 'app.doScript(name, set);' clears selection.