Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Killing script after calling action

New Here ,
May 19, 2009 May 19, 2009

Sorry if this is obvious but we have to start somewhere

I've a simple script that calls an action that works fine unless the action has a stop in it when a dialog showing Error 8007 appears. Basically what I'm wanting to know is what I need to add to the script so that once the action is called the script is terminated as it seems that control is still with the script even though the action is running.

Thank you for your help.

TOPICS
Actions and scripting
905
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guru ,
May 19, 2009 May 19, 2009

You can put the action call in a try/catch block

try{
    doAction('Action 1','Set 1' );
}catch(e){}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 19, 2009 May 19, 2009
LATEST

Thank you so much for your help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines