Help with creating a macro for Lightroom

I am pretty new to KM but I have a real need to automate outputting images in 2 different formats using Lightroom. I can do this with the mouse and trackpad but i do it enough to where I would like KM to do it all for me. I can do most of the macro using keystrokes but there are some fields in a dialog box that I can not seem to get to so I am guessing I will need some apple script or some other way.

So in Lightroom, when I press EXPORT a dialog box opens. There is lots of flexibility here for outputting including creating naming convention, size, location, et cetera. This is the area I need help with. Can anyone point me in the right direction? Keep in mind I don't know what I don't know so I may be biting off quite a bit here without knowing it.

Many thanks,

UPDATE: I figured out how to get to the area of the dialog box without having to use Apple Script. But the hurtle I have now before me is I need KM to prompt me for a name and then use the name I type in to be entered into a 2 different fields in the Lightroom dialog. How do I do this?

I am trying "Prompt user for input" and that seems to go ok, but I am not sure how to get this variable to populate the field in the dialog box. (scratching head)

It's a bit hard to know without actually seeing the behavior, but do you get any kind of "focus" when the dialog box comes up, and are then able to tab your way to another selection? Another option would be a mouse click on the areas you want to target, assuming they are always in the same place. Third, if it's about putting the file in a specific location, pressing command shift G allows you to navigate to a path in the system. You also have the possible "Press a button" macros. Alternatively, there might be a lightroom plugin you could tweak if you want to get real geeky?

Have you looked into creating export presets? You could set those with the settings you want, then just call them with KM on demand. Of course if you need to tweak those settings every time that not work for you.

1 Like

Jeff, I have already done that. What I am trying to do is to execute several of them one after another. I did finally figure it out and it works perfectly.