Copy link to clipboard
Copied
We work on multiple movie projects at once. Each has their own required fps and color settings. I was hoping to have a javascript which checks and modifies this based on per-project presets. I thought this would work :
app.preferences.getPrefAsFloat(sectionName, keyName[, prefType])
But this errors out :
app.preferences.getPrefAsFloat("Import Options Preference Section", "Import Options Default Sequence FPS");
Copy link to clipboard
Copied
Hi. here is docs : Preferences object
default pref file is "....Prefs.txt" , maybe you can
app.preferences.getPrefAsFloat("Import Options Preference Section", "Import Options Default Sequence FPS",PREF_Type_MACHINE_INDEPENDENT);
or you can change your config to `x Prefs.txt`
Find more inspiration, events, and resources on the new Adobe Community
Explore Now