Skip to main content
wckdtall
Inspiring
February 9, 2021
Question

Illustrator - Play Action doScript - Play Action

  • February 9, 2021
  • 2 replies
  • 454 views

I have an action that calls a script menu item, that runs

app.doScript ("RunFP","FP");

If I select it from the menu, it's no problem, but when I run it from actions, my computer spins and I have to crash illustrator. Am I running into an endless loop somehow since I'm running an action that's calling an action? Any way around this?

This topic has been closed for replies.

2 replies

rcraighead
Legend
February 10, 2021

As I read your question you have embedded Actions within another Action. I haven't actually tried that so can't say if it should work. Could you call the individual actions, in the appropriate order, from your script and get the desired result?

wckdtall
wckdtallAuthor
Inspiring
February 14, 2021

Simply launching 1 action from a script played from actions crashes it, but calling it from the menu it's exponentially faster. The idea was to group a whole bunch of scripts and actions together rather than call things individually.

rcraighead
Legend
February 15, 2021

Hmm… I call AI actions routinely in my scripts. I have experienced differences between running directly from AI and from a Script, but have found workarounds.

I'm on Mac and use Keyboard Maestro to "orchestrate" the calling of Scripts and Actions. It allows me to mix them together and assign triggers for their execution.

Silly-V
Legend
February 10, 2021

No, that's what happens, so you have to make the script in such a way that all your script stuff is in the script and all your actions are in the actions, but not where a script can call an action that calls a script.