Can Be Combined With Other Services; Ignored In Any Lightroom Version Older Than 2.0 - Adobe 65007312 - Photoshop Lightroom Programmer's Manual

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

Advertisement

C
2: Writing a Lightroom Plug-in
HAPTER
LrMetadataProvider
LrMetadataTagsetFactory
LrAlsoUseBuiltInTransla-
tions
The loader environment
The
Info.lua
environment in which other scripts run.
The standard Lua namespace
display strings in this file (see
You can use
most of the version information otherwise available through
However, you cannot use any of the other Lua or Lightroom globals defined in the SDK scripting
environment, (see
or
import
Here is an example of an
return {
LrSdkVersion = 3.0,
LrSdkMinimumVersion = 1.3, -- minimum SDK version required by this plug-in
LrToolkitIdentifier = 'com.adobe.lightroom.sdk.helloworld',
LrPluginName = LOC "$$$/HelloWorld/PluginName=Hello World Sample",
-- Add the menu item to the File menu.
Optional
table of
tables
Optional
table of
tables
Optional
Boolean
file is a special Lua environment that is much more restrictive than the general SDK Lua
and
WIN_ENV
MAC_ENV
"The Lightroom SDK scripting environment" on page
in this context.
require
Info.lua
Adds custom metadata fields, available only in Lightroom.
There can be only one such item in a plug-in. It contains a
string, the name of the Lua file (metadata definition script)
that defines the fields. See
page
68.
Can be combined with other services (export services,
export filters) or can be the only service provided by the
plug-in.

Ignored in any Lightroom version older than 2.0.

Adds a tagset of predefined metadata fields. The user can
select defined metadata tagsets from a menu in the
Metadata panel. Some tagsets are supplied by Lightroom;
this allows your plug-in to supply additional tagsets. See
"Adding custom metadata tagsets" on page
Ignored in any Lightroom version older than 2.0.
Controls behavior of built-in LOC function. When true,
strings that are not found in the plug-in's translation file are
checked against Lightroom's translation file for the current
language.
Note that string keys are not guaranteed to remain the
same across version releases.
Ignored in any Lightroom version older than 3.0.
is available, and you can use the
string
Chapter 7, "Using ZStrings for
environment variables, and the
file for a plug-in that adds items to the Lightroom menus:
Writing standard plug-ins for Lightroom 26
"Adding custom metadata" on
function for localization of
LOC
Localization").
variable that contains
_VERSION
LrApplication.versionTable()
12). For example, you cannot use
73.
.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop lightroom sdk 3.0

Table of Contents