Defining A Post-Process Action - Adobe 65007312 - Photoshop Lightroom Programmer's Manual

Mac
Hide thumbs Also See for 65007312 - Photoshop Lightroom:
Table of Contents

Advertisement

C
3: Creating Export and Publish Services
HAPTER
},
{
title = "Lines",
file = "lineAction.lua",
id = "lines",
requiresFilter = "main",
},
},

Defining a post-process action

An action definition script must return a table which can contain these entries. All entries are optional.
postProcessRenderedPhotos
shouldRenderPhoto
startDialog
endDialog
exportPresetFields
sectionForFilterInDialog
A function that defines how this action processes the list of rendered
photos that it receives. See
photos" on page
46.
Typically, only the main action in a group defines this function.
A function that selects photos to be removed from the list of rendered
photos that it receives. See
operation" on page
46.
Initialization and termination functions that run when the action is
selected or deselected in the Export dialog. See
termination functions for services" on page
A set of export preset settings that you define for your plug-in (in
addition to the built-in settings defined by Lightroom). If provided,
these fields are transferred from the Export dialog's property table to
any export preset that is created when this post-process action is
selected for the current Export session. See
choices" on page
57.
A function that defines a new section in the Export dialog which
appears when the action is selected, allowing the user to make choices
that affect the operation. Any action in a group can define a dialog
section.
The function must conform to this prototype:
sectionForFilterInDialog = function( viewFactory,
propertyTable ) ... end,
This function is defined in the same way as
and
sectionsForBottomOfDialog
single section definition, not an array of section definitions; see
"Adding custom sections to the Export or Publishing Manager dialog"
on page
53. The section is always added at the bottom of the Export
dialog, but above any "bottom" sections defined for the active Export
Service Provider.
The property table passed to this function is shared among all Export
Filter Providers and Export Service Providers defined by this plug-in.
Adding an export post-process action 45
"Defining post-processing of rendered
"Removing photos from the export
"Initialization and
38.
"Remembering user
sectionsForTopOfDialog
, except that the function returns a

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop lightroom sdk 3.0

Table of Contents