DescriptionThe Settings object provides an easy way to manage settings for scripts. The settings are saved in the After Effects preferences file and are per
Tag Archives: preferences
label
The label color for the item. Colors are represented by their number 0 for None, or 1 to 16 for one of the preset colors in the Labels preferences .Custom l
setMemoryUsageLimits()
Sets memory usage limits as in the Memory & Cache preferences area. For both values, if installed RAM is less than a given amount n gigabytes , the value is
setSavePreferencesOnQuit()
Set or clears the flag that determines whether preferences are saved when the application is closed.doSave When true, preferences saved on quit, when false
setProxy()
Sets a file as the proxy of this AVItem. Loads the specified file into a new FileSource object, sets this as the value of the proxySource attribute, and set
setProxyWithSequence()
Sets a sequence of files as the proxy of this AVItem, with the option of forcing alphabetical order. Loads the specified file sequence into a new FileSource
setProxyWithSolid()
Creates a SolidSource object with specified values, sets this as the value of the proxySource attribute, and sets useProxy to true. It does not preserve the
getSetting()
Retrieves a scripting preferences item value from the preferences file.sectionName A string containing the name of a settings sectionkeyName A string contai
haveSetting()
Returns true if the specified scripting preferences item exists and has a value.sectionName A string containing the name of a settings sectionkeyName A stri
saveSetting()
Saves a default value for a scripting preferences item.sectionName A string containing the name of a settings section keyName A string containing the key na