const app = Application('Adobe Illustrator'); app.executeMenuCommand({menuCommandString: 'menuCommandString'});
menuCommandString