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

Applescript: "execute menu command" syntax

New Here ,
Dec 02, 2014 Dec 02, 2014

Copy link to clipboard

Copied

Greetings,

Anyone know the syntax for using:

execute menu commandv : executes a menu command using the menu shortcut string

execute menu command

menu command string text : menu command shortcut

I can't figure out what string to use for the "menu command string" argument.

Thanks!

TOPICS
Scripting

Views

2.1K

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
Engaged ,
Dec 02, 2014 Dec 02, 2014

Copy link to clipboard

Copied

Hi,

I’m not an applescript guy, but the following link may help you with the concept: http://kasyan.ho.com.ua/open_menu_item.html . You may think I’ve lost my mind in that 1) it isn’t applescript and 2) it’s for InDesign, but my thoughts are that it may serve as basis for you to google what you need.

TT

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
Engaged ,
Dec 02, 2014 Dec 02, 2014

Copy link to clipboard

Copied

this thread may be of help in solving your problem (or not): Illustrator execution of a menu command without user interaction

you may have to go through actions to use menu commands.

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
Engaged ,
Dec 02, 2014 Dec 02, 2014

Copy link to clipboard

Copied

LATEST

wow - sorry for the confusion. I didn't know of the following thread until now: [JS] CS6+ executeMenuCommand

hope this helps.

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