Is there any way to get at photos buried in collapsed collection stacks?

Is there any way to get at photos buried in collapsed collection stacks? (without resorting to keyboard stuffing I mean)

OK. Kludgy, potential optimisation for that suggestion:
1) Find the top photo for each stack in that collection
2) catalog:getAllPhotos() as per John's suggestion
3) catalog:batchGetRawMetadata for the photos (in batches of ?) gathering uuid, and the collection equivalent of stackPositionInFolder and topOfStackInFolderContainingPhoto
4) check for intersections between the photos found in step 1) and the top of stack photos identified in 3)
Don't have LR 5 SDK at hand so I'm assuming there are collection equivalents of the metadata available re folder stacks, and that the batch get metadata call will be quicker than calling a method on every folder in your catalog.
Stack handling in these SDK functions is, shall we say, sub-optimal.
Matt

Similar Messages

Maybe you are looking for