Skip to content

Instantly share code, notes, and snippets.

@rwhirn
rwhirn / AdobeIllustratorMenuCommands.js
Created March 1, 2024 22:56 — forked from iconifyit/AdobeIllustratorMenuCommands.js
Simple function to execute menu commands in an Adobe Illustrator JSX script.
/**
* MenuCommand object for executing Adobe Illustrator menu commands.
* @param {String} kCommandStr
* @param {Boolean} runImmediately
* @constructor
*/
function doMenuCommand(kCommandStr) {
/**
* The Command string