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

Get Label colors from Pref

Advocate ,
Oct 30, 2015 Oct 30, 2015

Copy link to clipboard

Copied

Hi.

AE CC2014 complains "After Effects error: could not convert Unicode character" when I try to read label color values from pref file

app.preferences.getPrefAsString("Label Preference Color Section 5", "Label Color ID 2 # 1", PREFType.PREF_Type_MACHINE_INDEPENDENT)

Is there something I am missing?

TOPICS
Scripting

Views

1.4K

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
Advocate ,
Oct 30, 2015 Oct 30, 2015

Copy link to clipboard

Copied

‌THis old post may help you. Color Labels

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
Advocate ,
Oct 30, 2015 Oct 30, 2015

Copy link to clipboard

Copied

Hi Dan.

Yes, I've read that post earlier. However, the main issue is that

app.preferences.getPrefAsString("Label Preference Color Section 5", "Label Color ID 2 # 1", PREFType.PREF_Type_MACHINE_INDEPENDENT)

returns error. Now way I can read values from that pref section.

I am on Mac.

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
Enthusiast ,
Oct 31, 2015 Oct 31, 2015

Copy link to clipboard

Copied

LATEST

Gives me on Windows AE CC2014

Script Alert 2015-10-31 09.51.11.png

I`m also interested in this topic and want to create swatches like there: get swatches in dropdown list with color preview...

But still didn`t figure out how to operate with this.

Maybe Adobe engineers could give us some tips on reading this data.

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