Place linked using script
I am looking for a way to place linked photos directly from Lightroom.
After selecting a layer, I want to run my script which will do the following:
- Get the layer name (this will be the linked filename + suffix, at this point dgn)
- Open a “browse” dialog using Folder.selectDialog to get the root path the file can be found in.
- Recursively search down and if fileName.dgn is found place it as linked and delete the current layer.
Or, convert the smart object in the active layer to linked
How can I recursively search down to find the file?
How can I place it as linked?
