How Can I get KM to click the Save Button?

Hi all,

I am trying to work with the Mac save dialog. As an example let's say I open a new text editor document, type things, then I type command – S

  • now I am in the save dialog window which has a save button at the lower right.

Question: I would like to trigger a keyboard Maestro key that will do a few things then click that save button. What script step is best to have it click the save button?

I tried a move and click script step however it didn't seem to work maybe it was at the wrong location?

You can use the Press a Button action to "click", actually press, the "Save" button.

What do you want KM to do before pressing the "Save" button?

Wouldn't something like this do the job?
command-S
Action 1
Action 2 etc
Keystroke Return (which triggers the save button in most programs. If not try the enter key)

Thanks for Press a Button action - That did the trick!

---What do you want KM to do before pressing the "Save" button? - just a few simple steps...

1 Like