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

How to run an action that contains a script, from another script / UI

Contributor ,
Dec 22, 2022 Dec 22, 2022

Copy link to clipboard

Copied

Hi community, hope you're doing great, wish you great holidays.

Let me try to explain myself, I am trying to make an UI to run an action in AI, all i do is create a new action, record, go to menu -> insert menu item -> selectd e script I want -> stop recording

I am using the code line: app.doScript ("name of action", "set of actions");

But it is not working, it says something like : "The action 'name' is not currently available", but if i record an action like move, copy, paste, trasnform, hide, unhide, that one runs perfectly, all good except for the scripts I use in the action from "insert menu item".

 

can anybody help me please? Thanks.

 

AntonioPachecoHN_0-1671746480072.png

 

TOPICS
Bug , Scripting , SDK , Tools

Views

333

Translate

Translate

Report

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 , Dec 22, 2022 Dec 22, 2022

Votes

Translate

Translate
Adobe
Community Expert ,
Dec 22, 2022 Dec 22, 2022

Copy link to clipboard

Copied

One guess: Are two spaces really required in the name of the set "New  Actions"?

Votes

Translate

Translate

Report

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
Contributor ,
Dec 22, 2022 Dec 22, 2022

Copy link to clipboard

Copied

No, not at all, but believe me it's not that, i also tried with an underscore

Votes

Translate

Translate

Report

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 ,
Dec 22, 2022 Dec 22, 2022

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

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
Contributor ,
Dec 23, 2022 Dec 23, 2022

Copy link to clipboard

Copied

Thank you so much, Carlos! Wish you happy holidays!

Votes

Translate

Translate

Report

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 ,
Dec 23, 2022 Dec 23, 2022

Copy link to clipboard

Copied

LATEST

you're welcome Antonio, happy holidays for you as well!

Votes

Translate

Translate

Report

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