app.settings.getSetting(sectionName,keyName)
Description
Retrieves a scripting preferences item value from the preferences file.
Parameters
sectionName A string containing the name of a settings section
keyName A string containing the key name of the setting item.
Returns
String.
Example
If you have saved a setting named with the key name Aligned Clone” in the “Eraser – Paint Settings” section,
you can retrieve the value with this script:
var n = app.settings.getSetting("Eraser - Paint Settings", "Aligned Clone");
alert("The setting is " + n);