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

Get Label colors from Pref

Advocate ,
Oct 30, 2015 Oct 30, 2015

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

‌THis old post may help you. Color Labels

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

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.

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

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