Highlighted

[ANN] Adding AiMenu class.

Adobe Community Professional ,
Mar 06, 2019

Copy link to clipboard

Copied

Here is a custom class of Illustrator's JavaScript.

GitHub - ten-A/AiMenuObject: Strings for executeMenuCommand

Include it and you can write executeMenuCommand's argument extremely easy like below.

スクリーンショット 2019-03-06 16.48.17.png

Also, types file available a few weeks later.

Topics

Scripting

Views

762

Likes

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

[ANN] Adding AiMenu class.

Adobe Community Professional ,
Mar 06, 2019

Copy link to clipboard

Copied

Here is a custom class of Illustrator's JavaScript.

GitHub - ten-A/AiMenuObject: Strings for executeMenuCommand

Include it and you can write executeMenuCommand's argument extremely easy like below.

スクリーンショット 2019-03-06 16.48.17.png

Also, types file available a few weeks later.

Topics

Scripting

Views

763

Likes

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
Adobe Community Professional ,
Mar 06, 2019

Copy link to clipboard

Copied

It's already useful by how you documented and structured it, thank you!

Likes

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
Reply
Loading...
Adobe Community Professional ,
Mar 07, 2019

Copy link to clipboard

Copied

i have been thinking about doing something like this for a while and just haven't gotten to it. my thought was to just essentially re-namespace everything so that it makes a little more sense and is easier to remember. i have to look up the commands every single time because i can't remember if the one i need is lowercase, camelcase, titlecase or includes spaces....

you beat me to the punch with something that's even better than i had imagined.. bravo. Thanks Ten. 😃

Likes

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
Reply
Loading...
Explorer ,
Mar 07, 2019

Copy link to clipboard

Copied

Thank you, should be useful!

Likes

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
Reply
Loading...
Adobe Community Professional ,
Mar 07, 2019

Copy link to clipboard

Copied

thanks Ten, this is awesome!!

Likes

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
Reply
Loading...
Adobe Community Professional ,
Mar 08, 2019

Copy link to clipboard

Copied

Now, I update types file, You can use in VS Code.

Types-for-Adobe/index.d.ts at master · ten-A/Types-for-Adobe · GitHub

It can help you when you input executeMenuCommand's arg like below.

スクリーンショット 2019-03-07 19.08.42.png

Likes

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
Reply
Loading...
Participant ,
Mar 21, 2019

Copy link to clipboard

Copied

Hello hello,

In first time, thank you for sharing

In second time, how you found this informations please ?

Likes

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
Reply
Loading...
Galajas LATEST
New Here ,
Apr 10, 2020

Copy link to clipboard

Copied

Hello, I am using app.executeMenuCommand command, everything it seems working, but when I try to undo (ctrl+Z) what script does, Illustrator crash every time. Maybe do you know why?

Likes

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
Reply
Loading...