Adobe 65007312 Programming Guide - Page 150
SDK Sample Plug-ins
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 150 highlights
8 SDK Sample Plug-ins The Lightroom SDK includes some complete sample plug-ins that you can examine and use to familiarize yourself with the plug-in architecture, and with API and Lua usage in the Lightroom SDK. The plug-in samples are packaged with the Lightroom SDK, in the folder LR_SDK/Sample Plugins/ (see "The Lightroom SDK" on page 8). The plug-in script files are written using the Lua scripting language which have the file extension .lua. Each section in this chapter lists the program files and support files that are provided in the plug-in folder for each sample. X "The FTP Upload sample plug-in" on page 151 demonstrates how to use the SDK API to connect to an FTP server and upload images using FTP. X "The Flickr plug-in" on page 155 demonstrates how to use the SDK API to upload images directly to a Flickr account using HTTP. Each of these samples is an Export Service Provider, extending Lightroom's Export dialog by adding a new export destination. The plug-ins define their own export settings, as needed for their operations, and add one or more sections to the Export dialog that allow the user to make settings choices for the export operation. In addition, the samples demonstrate how to define and use independent dialogs for confirmations and actions. X "Metadata and filtering samples" on page 161 demonstrate additional types of standard plug-in functionality. These show how to create Lightroom-specific metadata and use it together with other features, such as customizing the Plug-in Manager, creating dialog boxes, and creating an Export Filter Provider that accesses custom metadata. X "Post-processing samples" on page 164 demonstrate more types of post-processing that can be accomplished with an Export Filter Provider. X "Web engine sample" on page 166 demonstrates a different type of plug-in, a web engine, by creating a simple HTML gallery. 150