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:

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:

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:

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