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

Illustrator js script to open Recolor Artwork panel

New Here ,
Jan 29, 2022 Jan 29, 2022

Copy link to clipboard

Copied

I'm creating a script to recolor Artwork using designated Swatch Group and then open Recolor Artwork panel in advanced mode for the users to optimize the setting.

I can open Recolor Artwork  with app.executeMenuCommand("Recolor Art Dialog"), but it opens in the default mode if the preference is not set to advanced mode. 

Is there a script to open Recolor Artwork panel in advanced mode whether or not the preference is set to advanced mode?

Or, is there a script to set preference to advanced mode?

 

TOPICS
Scripting

Views

410

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

Community Expert , Jan 29, 2022 Jan 29, 2022

Open the Preferences file in a text editor and look for a desired keyword. The script to set preference to advanced mode was as follows:

 

app.preferences.setBooleanPreference('ColorHarmony/AdvanceDialogDefaultOn', true)

 

Votes

Translate

Translate
Adobe
Community Expert ,
Jan 29, 2022 Jan 29, 2022

Copy link to clipboard

Copied

Open the Preferences file in a text editor and look for a desired keyword. The script to set preference to advanced mode was as follows:

 

app.preferences.setBooleanPreference('ColorHarmony/AdvanceDialogDefaultOn', true)

 

Votes

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
New Here ,
Jan 30, 2022 Jan 30, 2022

Copy link to clipboard

Copied

LATEST

Your answer worked!

Thank you so much, sttk3.

And thank you also for the tip about opening the Preferences file in text editor.

 

Votes

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