Skip to main content
Tomas Sinkunas
Legend
October 30, 2015
Question

Get Label colors from Pref

  • October 30, 2015
  • 1 reply
  • 1762 views

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 has been closed for replies.

1 reply

Legend
October 30, 2015

‌THis old post may help you. Color Labels

Tomas Sinkunas
Legend
October 31, 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.

Alex White
Legend
October 31, 2015

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.