2
Setting Project wide settings with a script
Explorer
,
/t5/after-effects-discussions/setting-project-wide-settings-with-a-script/td-p/14357379
Jan 15, 2024
Jan 15, 2024
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");
The original values are cut and pasted from Adobe After Effects 23.6 Prefs-indep-general.txt
["Import Options Preference Section"]
"Import Options Default Import Type" = "1"
"Import Options Default NTSC Dropframe" = 01
"Import Options Default Sequence FPS" = "24.000000"
"Import Options Default Unlabeled Alpha" = "1"
"Import Options Verify Individual Sequence Files" = 00
"Report Missing Frames From Sequences" = 01
Any pointers on this and the accessing the color management settings would be appreciated.
Thank you
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
LATEST
/t5/after-effects-discussions/setting-project-wide-settings-with-a-script/m-p/14375440#M243004
Jan 23, 2024
Jan 23, 2024
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`
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

