Skip to main content
Inspiring
July 5, 2022
解決済み

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

  • July 5, 2022
  • 返信数 2.
  • 491 ビュー

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.

 

このトピックへの返信は締め切られました。
解決に役立った回答 CarlosCanto

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'); 

 

返信数 2

Met1
Legend
July 5, 2022

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

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

CarlosCanto
Community Expert
CarlosCantoCommunity Expert解決!
Community Expert
July 5, 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'); 

 

Inspiring
July 5, 2022

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

Inspiring
July 5, 2022

* I forgot to mention in Javascript.