MIDI2LR icon indicating copy to clipboard operation
MIDI2LR copied to clipboard

Lightroom Presets

Open stevejmu opened this issue 11 years ago • 2 comments

Would be nice to assign presets to buttons and provide a drop down menu of available presets to assign with that button. Have a look at the LrDevelopPresetFolder & LrDevelopPreset classes available in the Lightroom 6.0 SDK (descriptions below).

LrDevelopPresetFolder (Class)

This class provides access to a develop-preset folder, and to the LrDevelopPreset objects for the contained presets.

Access the functions and properties from the object. Retrieve the objects for all the folders by calling LrApplication.getDevelopPresetFolders().

- folder:getDevelopPresets()

Retrieves the develop-preset children of this folder.

- folder:getName()

Retrieves the name of this folder.

- folder:getPath()

Retrieves the path of this folder.

- folder:type()

Reports the type of this object.

LrDevelopPreset (Class)

This class provides access to a develop preset, which stores persistent develop settings.

Access the functions and properties from the object. Retrieve the objects for all the presets at the root of the hierarchy by calling LrApplication.developPresetFolders().

Retrieve objects from the parent folder using LrDevelopPresetFolder.getDevelopPresets().

- preset:getFile()

Retrieves the file path of this preset.

- preset:getName()

Retrieves the name of this preset.

- preset:getParent()

Retrieves the parent folder of this preset.

- preset:getSetting()

Retrieves the settings for this preset.

- preset:getUuid()

Retrieves the unique identifier of this preset.

- preset:type()

Reports the type of this object.

stevejmu avatar Sep 30 '15 12:09 stevejmu

Good idea. I'll put it in the queue.

rsjaffe avatar Sep 30 '15 13:09 rsjaffe

See #31

rsjaffe avatar Oct 22 '15 01:10 rsjaffe