Adobe 65007312 Programming Guide - Page 164
Post-processing samples, Post-processing actions walkthrough
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 164 highlights
CHAPTER 8: SDK Sample Plug-ins Post-processing samples 164 7. In the new Metadata Export Filter dialog section, choose Title from the drop-down menu, and enter the title of one of your selected photos in the edit text field. 8. Click Export to start the export operation. Only the single picture whose Title value matches the one you entered is exported; all the other photos in your selection are removed from the export operation by this Export Filter Provider. Post-processing samples Plug-in files The samples creatorfilter.lrdevplugin and languagefilter.lrdevplugin provide additional examples of post processing, using Export Filter Providers. These plug-ins show the typical construction of Export Filter Providers, making use of an external application to process XMP metadata. Together, the samples demonstrate how you can combine multiple post-processing actions, allowing the user to choose one, both, or neither of the actions. The Creator External Tool (defined in creatorfilter.lrdevplugin) also includes the metadata filter logic defined in the "Metadata filter sample" on page 162, which excludes files with matching metadata from the export operation. This illustrates how to combine a simple exclusion filter with the external post-processing that writes XMP metadata. creatorfilter.lrdevplugin Allows the user to add or modify certain XMP metadata values to photos being exported. Info.lua CreatorExternalToolFilterProvider.lua win\LightroomCreatorXMP.exe mac/LightroomCreatorXMP The Export Filter Provider information and definition script. The platform-specific external XMP application that performs the selected action. languagefilter.lrdevplugin Allows the user to update one of the localized values for the Title property in the XMP metadata. Info.lua LanguageExternalToolFilterProvider.lua win\LightroomLanguageXMP.exe mac/LightroomLanguageXMP The Export Filter Provider information and definition script. The platform-specific external XMP application that performs the selected action. Post-processing actions walkthrough 1. Use the Plug-in Manager to add the plug-ins, found in the Lightroom SDK samples folders: LR_SDK/Sample Plugins/creatorfilter.lrdevplugin and LR_SDK/Sample Plugins/languagefilter.lrdevplugin.