Code: Select all
var label1 = app.settings.getSetting("Label Preference Color Section 5", "Label Color ID 2 # 1", PREFType.PREF_Type_MACHINE_INDEPENDENT)
But every time I try I get the error "the section name and key (Label Preference Color Section 5, Label Color ID 2 # 1) could not be found in the preferences."
I tried some preferences from the main settings as well and even the settings used in the example in the docs, but same result every time. What am I doing wrong?