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

Problems recording an action that executes a menu command

Explorer ,
Oct 20, 2021 Oct 20, 2021

Copy link to clipboard

Copied

Hello community,

 

I am trying to record an action that executes a command in the menu under "File". This command comes from a plug-in which I have installed. Here is how I do that, please excuse the fact that Illustraor is in Spanish here:

KarlFabian5F97_0-1634730122099.png

Everything up until this point is fine, however, when I then execute the action, the wrong menu action is executed! Specifically, rather than executing "Cortar" which translates to "Cut", the action executes the last item in the submenu, "Configuraciones". This is true regardless of which entry in the submenu I choose. Not sure if this could perhaps be a bug? Could anyone think of a work-around in this case?

 

In any case, the actual goal I have here is to execute this menu command from a script, so if there is another way of doing so without using a recorded action, please let me know.

 

Thank you!

TOPICS
Bug

Views

299

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
Adobe
Community Expert ,
Oct 20, 2021 Oct 20, 2021

Copy link to clipboard

Copied

Are you referring to the "Seleccionar todo" entry inside the "test" action?

 

I cannot see this command in the submenu of the plugin you are showing ...

 

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
Mentor ,
Oct 20, 2021 Oct 20, 2021

Copy link to clipboard

Copied

That's "select all"...

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
Explorer ,
Oct 21, 2021 Oct 21, 2021

Copy link to clipboard

Copied

LATEST

Sorry about the confusion here. The action should perform two tasks right now. The first is "Seleccionar Todo" which translates to "Select All". This is just to select my design. The second part is where I am having problems, the "CoCut Standard 2021: Cortar" menu command. This command is what you can see in the image and what came installed with the plug-in. However, when the actions is run, the "CoCut Standard 2021: Configuraciones" command is run, which is the last item in this submenu. 

Note that as mentioned in my answer to @Mike_Gondek I can indeed execute a keyboard shortcut which correctly executes the menu command, so the problem seems to be with the action.

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 ,
Oct 20, 2021 Oct 20, 2021

Copy link to clipboard

Copied

Just to clarify: About what action are we talking?

 

Is it the "print_canvas" action? If so, there you are trying to execute the "Cortar directo" command by using the Insert Menu Item command in the Actions flyout menu. Is that right?

 

And if you run the action, this command does not get executed? Instead just the bottommost item in the "CoCut Standard 2021" submenu?

 

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
Explorer ,
Oct 20, 2021 Oct 20, 2021

Copy link to clipboard

Copied

That is correct. I am trying to execute either "Cortar" or "Cortar Directo". They get added properly to the action but when the action is run the configurations menu pops up, which is the last item in the submenu as you correctly pointed out.

 

What usually happens when I click on "Cortar" is that Illustrator prompts another software to open up and sends it the selected design. It does not do this, however, when I add this menu command to a recorded action. All it does, as previously mentioned, is open the configurations which is a different menu command.

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 ,
Oct 20, 2021 Oct 20, 2021

Copy link to clipboard

Copied

Did you get the word Cortar to get inside the field here?  If not try typing "Cor" to see if it will appear for you.

MikeGondek_0-1634760185036.png

Try recording another menu items to confirm if maybe just the plug in menu items will not get added.

 

Also try edit >> keyboard Shortcuts

To see if you can assign one

MikeGondek_1-1634760414335.png

 

 

 

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
Explorer ,
Oct 21, 2021 Oct 21, 2021

Copy link to clipboard

Copied

Hello,

 

Yes I do indeed get the action to seemingly be added correctly. In the following image you can see one action that has already been recorded named "print_canvas" which contains the CoCut Standard 2021: Cortar menu command.When adding the menu command I directly select it from the menu and Illustrator adds it, so it seems to be recognising the command properly. You can see in the image that I am adding a new menu command, in this case "Cortar Directo". So so far so good:

KarlFabian5F97_0-1634800001946.png

This is what I get when I run the action:

KarlFabian5F97_1-1634800049829.png

As you can see the "Configuraciones" menu, which translates to "Configurations" (I suppose that one is quite obvious), is opened. This is what should happen when executing the menu command "CoCut Standard 2021: Configuraciones"

 

HOWEVER, very interestingly I was able to add a keyboard shortcut that works:

KarlFabian5F97_2-1634800202634.png

When I run this shortcut the desired functionality is executed! So that works, thank you very much. I will try to see if I can use the keyboard shortcut in a script to somehow still achieve the full automation that I require.

 

But in any case. Any ideas what might cuase the action to act up this way?

 

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