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

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

Community Beginner ,
Jul 05, 2022 Jul 05, 2022

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
Scripting
474
Translate
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

Community Expert , 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'); 

 

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

* I forgot to mention in Javascript.

 

Translate
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
Mentor ,
Jul 05, 2022 Jul 05, 2022

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

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

Translate
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 Expert ,
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'); 

 

Translate
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

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

Translate
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
Translate
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 Expert ,
Jul 06, 2022 Jul 06, 2022
LATEST

I have no idea Archibald, Adobe works in mysterious ways

Translate
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