Hi
I would like to get Premiere Pro’s AppPreferences.
However, currently I can only get these three:
AUTO_PEAK_GENERATION: "BE.Prefs.Audio.AutoPeakGeneration"
IMPORT_WORKSPACE: "FE.Prefs.ImportWorkspace"
SHOW_QUICKSTART_DIALOG: "MZ.Prefs.ShowQuickstartDialog"
Is there a way to get the others?
There’s no way to get the path of the “Adobe Premiere Pro Prefs” file, right?
Hi Takka-884,
We are exposing a selected list of backend preference keys - just those 3 so far due to safety concerns. It sounds like you’d like to access and control more preferences. If you want to send a list of keys you are interested in, we can evaluate and expose them in the future.
And we have not yet exposed API for accessing app preference file path. New API methods are on
the way.
Thanks for your question,
Dan
Oh, it will be a limited list? It is so great that in CEP we have access to all keys, that could be seen in “Adobe Premiere Pro Prefs” file. I couldn’t imagine it will be different in UXP.
My opinion is that app prefs dramatically extend possibilities for Premiere scripting. So many options become available for developers.
@Taka-884, thank you for pointing this out!
@dan2dublin here is the list of properties that I currently use in my extensions.
// Current shortcuts file
FE.Prefs.Shortcuts.Filename
// Labels
BE.Prefs.LabelNames.0 (up to 15)
BE.Prefs.LabelColors.0 (up to 15)
BE.Prefs.LabelDefaults.Bin
BE.Prefs.LabelDefaults.Sequence
BE.Prefs.LabelDefaults.Video
BE.Prefs.LabelDefaults.Audio
BE.Prefs.LabelDefaults.AV
BE.Prefs.LabelDefaults.Still
BE.Prefs.LabelDefaults.DynamicLink
BE.Prefs.LabelDefaults.Captions
// Transitions
BE.Prefs.DefaultVideoTransition
BE.Prefs.DefaultVideoTransitionDuration
BE.Prefs.DefaultVideoTransitionDurationInSeconds
BE.Prefs.DefaultVideoTransitionDurationUnit
BE.Prefs.DefaultAudioTransition
BE.Prefs.DefaultAudioTransitionDurationInFrames
BE.Prefs.DefaultAudioTransitionDurationInSeconds
BE.Prefs.DefaultAudioTransitionDurationUnit
// Export paths
MZ.Prefs.Export.Media.Path
Monitor.ExportFrame.CurrentPath
// Still Images info
BE.Prefs.StillImages.DefaultFramerate
BE.Prefs.StillImages.DefaultIsDropFrame
// Selection follows playhead
MZ.Prefs.SelectionFollowsPlayhead
// Import exported frames into project
mezzanine.importExportedFramesIntoProject
// Undo levels
BE.Prefs.Undo.MaxLevels
Thanks for speaking up, Ivan. Your list has been added to our tracking DB.
-Dan
(for our ref: DVAPR-4257819)
1 Like
Hi Dan, Thanks for reply.
I am hoping to get ‘Action and Title Safe Areas’.
<BE.Prefs.DefaultProjectSettings>
<ActionSafeWidth>
<ActionSafeHeight>
<TitleSafeWidth>
<TitleSafeHeight>
or
<FE.Prefs.OverlayPreset.Filename>
PremierePro has two places to set ‘Action and Title Safe Areas’: ‘Overlay Settings’ and ‘Project Settings’, but if possible I would like to get the currently displayed value of ‘Action and Title Safe Areas’.
The other thing I want to get is
<BE.Prefs.PhotoshopImporter.DisplayDialog>
<BE.Prefs.PlaybackSettings.StepForwardBackMany>
I also need the list that Sir_Ivan mentions.
1 Like