change the parameter in the preference file

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
User avatar
monter
Posts: 21
Joined: July 15th, 2004, 1:03 am
Location: Russia, Moskow
Contact:

January 23rd, 2009, 2:03 pm

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?
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

January 25th, 2009, 6:35 am

Check out my Throttle scripts for reference on how to change the app prefs:

http://aescripts.com/tag/throttle


-Lloyd
User avatar
monter
Posts: 21
Joined: July 15th, 2004, 1:03 am
Location: Russia, Moskow
Contact:

January 26th, 2009, 2:30 am

Thanks!
app.preferences.savePrefAsLong("Project Conversion Options", "Disable Automatic Upgrade of PAR", 1);
!!!
Post Reply