-
Scripting: Retrieving Label Color from Preferences
I’ve been trying to figure this out the last couple of days and just can’t get by it.
I’m trying to get the assigned preference Label Colors from the preference text file: “Adobe After Effects 14.2 Prefs-indep-general.txt”Here is a simplified version of what I got:
var labelColor1 = app.preferences.getPrefAsString("Label Preference Color Section 5", "Label Color ID 2 # 1", PREFType.PREF_Type_MACHINE_INDEPENDENT);
alert(labelColor1);It is returning ��88 when it should be retuning FFB5″88″
Maybe it has something to do with the way it is being encoded when converted to a string or what.Anyways, any help would be greatly appreciated! ????
Thanks,
-Jay