Action is very simple.
- User Input: Select an object
- Call Action
- Set Document Color Mode to CMYK
- Set Color for selected object
- Lock object
That should be the end of it. However, these steps repeat themselves a second time.
You can see the repeat above and the resulting error for the
(since it's already been run and nothing is then selected).
I did have a couple additional action steps - save and close. But due to the repeat those steps wreaked havoc if multiple AI files were open at the same time. Often crashing the app entirely. So, I whittled this down to the minimum and thats when I saw the actual issue was due an undesired repeat.
I'm pulling my hair out as to why the action repeats itself. I'm trying to do away with the error message for the lock step.
Any ideas why an Action would just decide to repeat itself?