Skip to main content
Tomas Sinkunas
Legend
Oct 30, 2015 6:07 PM UTC
Question

Get Label colors from Pref

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Legend
Oct 30, 2015 9:45 PM UTC

‌THis old post may help you. Color Labels

Translate
Tomas Sinkunas
Legend
Oct 31, 2015 12:24 AM UTC

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
Alex White
Legend
Oct 31, 2015 7:58 AM UTC

Gives me on Windows AE CC2014

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