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.
I am happy to share that we have fixed this bug in our latest release – 26.0.0 which is available worldwide now.
Going forward, our goal is to fix as many top User-Voice bugs as possible and as frequently as possible. Given the nature of the fixes, some of the bugs will take a longer time to fix, but we are on it.
You can update to the latest release using Creative Cloud desktop App: https://helpx.adobe.com/in/creative-cloud/help/creative-cloud-updates.html
Thank you for all the feedback. Keep it coming!
Thanks, guys. Version 26 is fine.
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.