Ai script equivalent of Edit > Edit Colors > Convert to RGB

Community Beginner ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

Hi script gods!

Is there a script equivalent of Edit > Edit Colors > Convert to RGB ?

I have been looking on https://ai-scripting.docsforadobe.dev/ but could not find a code for this. 

Thanks all.

 

Screenshot 2022-07-05 at 15.11.04.png

TOPICS
How to , Scripting

Views

75

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
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Jul 05, 2022 Jul 05, 2022

Hi Met, that's used to convert the whole document color mode to RGB

 

the Edit->Edit Colors->Convert to RGB command is

app.executeMenuCommand('Colors9'); 

 

Likes

Translate

Translate
Community Beginner ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

* I forgot to mention in Javascript.

 

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
community guidelines
Guide ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

I'm not a scripter but this is one the the lines in a script I use - hth:

app.executeMenuCommand('doc-color-rgb');

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
community guidelines
Adobe Community Professional ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

Hi Met, that's used to convert the whole document color mode to RGB

 

the Edit->Edit Colors->Convert to RGB command is

app.executeMenuCommand('Colors9'); 

 

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
community guidelines
Community Beginner ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

Why is this not on the documentation at https://ai-scripting.docsforadobe.dev/ ? Where is the documentation please Carlos?

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
community guidelines
Advisor ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

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
community guidelines
Adobe Community Professional ,
Jul 06, 2022 Jul 06, 2022

Copy link to clipboard

Copied

LATEST

I have no idea Archibald, Adobe works in mysterious ways

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
community guidelines