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

Is it possible to run an action from a script?

Engaged ,
May 03, 2018 May 03, 2018

Is it possible to run an action from a script? Could you make an example?

TOPICS
Scripting
6.7K
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

correct answers 1 Correct answer

Community Expert , May 03, 2018 May 03, 2018

app.doScript ("Name of Action", "Name of Action Set")

Have fun

Translate
Adobe
Community Expert ,
May 03, 2018 May 03, 2018

app.doScript ("Name of Action", "Name of Action Set")

Have fun

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
Engaged ,
May 04, 2018 May 04, 2018

I have an "Action 123" in the ''Default Actions'', but calling
app.doScript ("Action 123", "Default Actions");

makes the error:

app.doScript is not a function

What am I doing wrong?

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 ,
Apr 17, 2019 Apr 17, 2019

У Вас получилось решить эту проблему? Я столкнулся с такой же проблемой. Подскажите. Спасибо.

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
Community Expert ,
Apr 17, 2019 Apr 17, 2019

what problem?

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
Engaged ,
May 04, 2018 May 04, 2018

I'v found that the ability to play an action from a script with the app.doScript() command works since Illustrator CS6 only...

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
Community Expert ,
May 04, 2018 May 04, 2018

Yes. CS6+

Since 6 versions (major releases)

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
Community Expert ,
May 04, 2018 May 04, 2018

if you're using an older version, doScript() is available for vbscript and applescript

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
Explorer ,
Jun 09, 2020 Jun 09, 2020
LATEST

never mind.  I made a silly mistake, and don't know how to deleter my comment.  sorry.

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