Skip to main content
Participating Frequently
October 13, 2017
Answered

Lightroom SDK: Stack operations

  • October 13, 2017
  • 3 replies
  • 1496 views

Hello,

I'm looking for a way to create stack from plugin using Lightroom SDK and based on API reference there's no way to do that, so is there really no way to do that or I missed something?

Thanks in advance.

This topic has been closed for replies.
Correct answer johnrellis

The SDK only allows stacks to be created when photos are added to the catalog with catalog:addPhoto(). Unfortunately, there is no way to manipulate stacks of existing photos.  Please add your me-too vote and details why you want this to this feature request in the official Adobe feedback forum: Lightroom SDK: stack ops | Photoshop Family Customer Community

As a workaround, you could stuff keystrokes to the user interface using Auto Hotkey or Keyboard Maestro, but that tends to be very fragile and platform-dependent.

3 replies

Oliver Haubold
Participant
May 18, 2019

Yes please give us this feature. Can't be that problem, when the function is already implemented in the context menu.

I need it to group my HDR images as stacks. The time tool stack to much or to less ... 0/-1/+1 ... or just give me this feature

johnrellis
Legend
May 18, 2019

Adobe product developers won't see your feedback here. Please add details about why you want this feature to this request in the official Adobe feedback forum: Lightroom SDK: stack ops | Photoshop Family Customer Community . Be sure to click Vote and Follow in the upper-right corner. Adobe developers read everything posted in that forum.

johnrellis
johnrellisCorrect answer
Legend
October 13, 2017

The SDK only allows stacks to be created when photos are added to the catalog with catalog:addPhoto(). Unfortunately, there is no way to manipulate stacks of existing photos.  Please add your me-too vote and details why you want this to this feature request in the official Adobe feedback forum: Lightroom SDK: stack ops | Photoshop Family Customer Community

As a workaround, you could stuff keystrokes to the user interface using Auto Hotkey or Keyboard Maestro, but that tends to be very fragile and platform-dependent.

t3ranAuthor
Participating Frequently
October 13, 2017

Thanks for your suggestion, but unfortunately it's not applicable in my case - I have no sure the use would have the collection I want to create stacks in open. So hope the feature request you mentioned would finally be implemented.

Thanks!

johnrellis
Legend
October 13, 2017

I have no sure the use would have the collection I want to create stacks in open.

You could use catalog:setActiveSources () to select the desired collection, then use catalog:setTargetPhotos() to select the desired photos, then stuff keystrokes to put the photos in a stack.  But even then, there are lots of opportunities for that to fail unless you're very careful, and even then, it can be difficult to make it work perfectly.

Akash Sharma
Legend
October 13, 2017

Moving to Lightroom SDK