Adobe 65007312 Programming Guide - Page 161
Metadata and filtering samples, Custom metadata sample walkthrough
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 161 highlights
CHAPTER 8: SDK Sample Plug-ins Metadata and filtering samples These related samples include the following: Metadata and filtering samples 161 custommetadatasample.lrdevplugin Files: Info.lua CustomMetadataDefinition.lua CustomMetadataTagset.lua AllMetadataTagset.lua DisplayMetadata.lua PluginInfoProvider.lua PluginInit.lua strings/en/TranslatedString.txt metaexportfilter.lrdevplugin Files: Info.lua Metadata.lua MetadataExportFilterProvider Creates custom metadata fields and tagsets for use within Lightroom. Also demonstrates: X Customization of the Plug-in Manager dialog and plug-in load behavior. X Localization of display strings using a string dictionary. X Creation of a dialog that displays the values of these custom metadata fields for selected photos. Demonstrates a simple Export Filter Provider by defining a post-process action and a related section in the Export dialog. This action offers the user a choice of metadata values to filter on, and removes all photos that do not match that choice from the export operation. It makes use of shouldRenderPhoto(), and of the metadata fields defined in the previous sample. Custom metadata sample walkthrough 1. Use the Plug-in Manager to add the plug-in, found in the Lightroom SDK samples folder: LR_SDK/Sample Plugins/custommetadatasample.lrdevplugin 2. In the Metadata panel of the Library module, open the menu at the top left and choose Custom Metadata. 3. The custom metadata created by the plug-in appears in the metadata panel.