![]() PREF_Type_MACHINE_INDEPENDENT ) alert ( "The setting is: " + debuggerEnabled ) Īpp.preferences.getPrefAsFloat(sectionName, keyName) getPrefAsBool ( "Main Pref Section v2", "Pref_JAVASCRIPT_DEBUGGER", PREFType. PREF_Type_MACHINE_SPECIFIC_PAINT: Adobe After Effects $versionNumber.x Prefs-paint.txtĪpp.letePref(sectionName, keyName)ĭeletes a preference from the preference file. PREF_Type_MACHINE_SPECIFIC_TEXT: Adobe After Effects $versionNumber.x Prefs-text.txt PREF_Type_MACHINE_INDEPENDENT_COMPOSITION: Adobe After Effects $versionNumber.x Prefs-indep-composition.txt PREF_Type_MACHINE_INDEPENDENT_OUTPUT: Adobe After Effects $versionNumber.x Prefs-indep-output.txt PREF_Type_MACHINE_INDEPENDENT_RENDER: Adobe After Effects $versionNumber.x Prefs-indep-render.txt PREF_Type_MACHINE_INDEPENDENT: Adobe After Effects $versionNumber.x Prefs-indep-general.txt PREF_Type_MACHINE_SPECIFIC: Adobe After Effects $versionNumber.x Prefs.txt The third argument is enum PREFType value, one of: ![]() If the third argument is not passed, default value ( PREFType.PREF_Type_MACHINE_SPECIFIC) is used and After Effects tries to save/get from the “Adobe After Effects $versionNumber.x Prefs.txt” preferences file. You can create new preferences with this object, as well as accessing existing preferences.Īs of Version 12/CC, preferences and settings methods now take a third argument to specify the target preferences file if Section/Key is not in “Adobe After Effects $versionNumber.x Prefs.txt”. In the preferences file, section names are enclosed in brackets and quotation marks, and key names are listing in quotation marks below the sectionname. Preferences are identified by section and key within the file, and each key name is associated with a value. These are saved in the After Effects preference files, and are persistent between application sessions. The Preferences object provides an easy way to manage internal AE preferences, such as you’d find in AE’s Preferences menu. Elements of basic JavaScript relevant to After Effects scripting.
0 Comments
Leave a Reply. |