Adobe 65007312 Programming Guide - Page 58
Export presets, contain any publish-specific
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 58 highlights
CHAPTER 3: Creating Export and Publish Services Remembering user choices 58 For example: exportPresetFields = { { key = 'privacy', default = 'public' }, { key = 'privacy_family', default = false }, { key = 'privacy_friends', default = false }, { key = 'safety', default = 'safe' }, { key = 'hideFromPublic', default = false }, { key = 'type', default = 'photo' }, { key = 'addTags', default = '' }, } The settings you declare here are automatically saved along with the export settings already defined by Lightroom (see "Lightroom built-in property keys" on page 59). The first time your plug-in is activated, the default value is used to initialize your settings. On the second and subsequent activations, the settings chosen by the user in previous sessions are restored. Export presets For an export service, the user can choose to save a particular configuration of settings values as an export preset. A preset contains all of the current settings values, including Lightroom-defined fields, plug-in-defined fields, and post-process action-defined fields. It does not contain any publish-specific setting that are shown only in the Publishing Manager dialog. If you wish to create a predefined preset for your export-service plug-in, to be loaded along with your plug-in and appear in the Lightroom Presets list, you must: 1. Make the value selections in the Export dialog. 2. Use Add to save a User Preset.