1 person found this helpful
If you provide more details about what specifically you're trying to accomplish, we might be able to suggest an easier workflow.
Sorry if I wasn't clear. I want to very quickly copy metadata with a single hotkey.
For example, in Aperture I wrote Applescripts to copy just about every bit of metadata I could want. If I want to grab the photo title (to the clipboard) I just press cmd+opt+ctrl+t. If I want the Caption, it's cmd+opt+ctrl+c. If I want the Keywrds, it's cmd+opt+ctrl+k, and so on so forth for any bit of metadata I might want.
Having easy single keystroke access to any metadata not only makes it faster for me to pull out data when I post a photo to my website, but also allows me to better automate things with keyboard maestro. As an example, I have a keyboard maestro macro that will grab the currently selected photo in Aperture and will (using the hotkeys to pull out metadata I created) pull out all necessary metadata and build a post to my website automatically.
Is that clear? So basically I just want to easily, using a hotkey and not the mouse, copy various metadata from a photo to the clipboard.
Sorry, that's not exactly what I want. See my other reply to see me try to explain myself better.
I didn't know about Lua, though. Thanks for that mention. I will have to research that more.
I don't think that's possible with Lightroom, not easily anyway. If you want to do exactly what you describe, you might be able to code an external application which recognises those shortcuts, calls a Lightroom plugin (via a url in the form lightroom://yourpluginname/etc) which returns a specific field's value and sends it your app which then puts the info on the clipboard.
If you're comfortable with Keyboard Maestro, an easier (but more fragile) solution is to use Maestro scripts to copy out a metadata field. For example, to copy a photo's keywords to the clipboard, a Maestro script would do these steps:
- Invoke the LR menu command Window > Library (to make sure LR is in the Library module).
- Invoke the command Edit > Select Only Active Photo (and ignore any error if that command is not active), ensuring the Metadata panel shows info for just the most-selected photo (in case more than one photo is selected).
- Invoke the command Photo > Add Keywords...
- Stuff the keystroke Shift + Tab to move to the previous field listing the keywords.
- Invoke Edit > Select All, followed by Edit > Select, followed by Edit > Copy.
To copy the caption, in step 4, stuff the appropriate number of tabs to move to the Caption field.
As with keyboard macros in general, this is fragile, because the macro usually has to make assumptions about the state of the application's user interface that can't be verified by the macro. The steps above assume that the right column of panels is open in the Library, and there's no way to ensure that is true; similarly, the steps have to assume which panels in the column are visible and open.
The approach sketched by John Beardsworth would be much more robust but a lot more work. Even if you're an experienced programmer, the learning curve for LR plugins is pretty steep -- assume at least a 8 - 12 hours to get something working reliably. See my post for how to get started with the LR SDK for plugins.