Page 1 of 1

change the parameter in the preference file

Posted: January 23rd, 2009, 2:03 pm
by monter
How can I use javascript in AE in order to change the parameter "Disable Automatic Upgrade of PAR" in the preference file (from 0 to 1)
The function app.settings.saveSetting("Project Conversion Options", "Disable Automatic Upgrade of PAR", "1" doesn't change the parameter.
Is it posibble to do this by scripting?

Re: change the parameter in the preference file

Posted: January 25th, 2009, 6:35 am
by lloydalvarez
Check out my Throttle scripts for reference on how to change the app prefs:

http://aescripts.com/tag/throttle


-Lloyd

Re: change the parameter in the preference file

Posted: January 26th, 2009, 2:30 am
by monter
Thanks!
app.preferences.savePrefAsLong("Project Conversion Options", "Disable Automatic Upgrade of PAR", 1);
!!!