Adobe 65007312 Programming Guide - Page 76
enum Value must be one of: DNG, RAW, JPG, TIFF, PSD, date Edit Date
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 76 highlights
CHAPTER 4: Working with Metadata Searching for photos by metadata values 76 criteria }, } for _, photo in ipairs( photos ) do -- do somethingwith path end end ) This simple usage is straightforward, although the function allows many matching operations, depending on the datatype of the metadata field to be considered. The allowed values for criteria correspond to choices in the Edit Smart Collection dialog: rating (number) pick (enum) Value must be one of: 1 (flagged), 0 (unflagged), -1 (rejected) labelColor (enum) Value must be one of: 1 (red), 2 (yellow), 3 (green), 4 (blue), 5 (purple), "custom" (any label not currently assigned to a color), "none" labelText (string, can be empty) User-assigned name of color label folder (string) Name of folder, including all parent folders shown in the Folders panel collection (string) Name of any collection containing this photo all (string) Any searchable text filename (string) copyname (string, can be empty) Copy Name assigned in Metadata panel fileFormat (enum) Value must be one of: "DNG", "RAW", "JPG", "TIFF", "PSD" metadata (string) Any searchable metadata title (string, can be empty) caption (string, can be empty) keywords (string, plural, can be empty) iptc (string) Any IPTC metadata; that is, any text in a field that is indexed by Lightroom. exif (string) Any EXIF metadata; that is, any text in a field that is indexed by Lightroom. captureTime (date) touchTime (date) Edit Date camera (string, with exact match) cameraSN (string, with exact match) Camera Serial Number lens (string, with exact match) isoSpeedRating (number) hasGPSData (Boolean)