Join command is unavailable when run from an action via a script
We have an action that works, when launched form the Actions panel.
Operations are simple:
2. Deselect All
3. Paste in Front
It is designed to create a new closed shape from two segments from different shapes.
However, when we call this exact action from a script with a app.doScript, it doesn’t work, an error message 'The object "Join" is not currently available' is displayed.
Please see the video.