No problem – they weren’t actually meant as an explicit how to, rather as a rough idea of how simple it was to do.
I’m very happy to give you those steps, but as JohnAtl has kindly provided a complete Macro to do this, then perhaps it would be worth downloading that and installing it? Then you’ll be able to follow what he has done so that you can be up and running immediately? (He’s taken a slightly different approach than I suggested, and he’s added a couple of very nice ‘convenience touches’ but both are equally valid.)
But for later on when you come to write your own macros, the basic process is:
Step 1. Identify where you want the macro to be available – e.g. globally, or only in a certain program or when a certain condition occurs.
In this case, you want to run it in Scrivener only, so you’d create a new group for your Scrivener macros. File > New Macro Group. Name it ‘Scrivener’, and
- Tick ‘Enable Macro Group’.
- Click on
Available in all applications and choose
Available in these Applications. Click on the green add button and choose Scrivener (it will be in the top level if it’s already running, otherwise, use More and select it from the list).
- Leave the other options as they are for the time being.
Step 2: Add a new macro to your new group. (cmd-N).
- Name the new macro (e.g. ‘Quit and start Dropbox’)
- Click New Trigger and choose Hot Key Trigger, then add a shortcut (e.g. Ctl-q)
- Choose New Action. A dialogue will appear. Type Menu in the search bar and then double click ‘Select and Show a Menu Item’. This will add that action to the macro.
- Change Select Application to Scrivener, then click on ‘Menu’ and you’ll see Scrivener’s menu structure appear. Navigate to Scrivener > Scrivener > Quit Scrivener
- Go back to the actions dialogue which will still be open and type “Activate” into the search bar. Double click on 'Activate a Specific Application to add it to the macro.
- In the action, click on Activate and choose Dropbox.
That’s basically it. Go to Scrivener and type ctrl-q to see if it works.
As usual it’s a lot easier to do all this in practice than it is to describe it. A simple macro like this would take no more than a couple of minutes to create one you’ve got the hang of where everything is.
BTW, the second picture you’ve shown is the Keyboard Maestro alternative application switcher (it’s a slightly more advance version of MacOS’s normal cmd-tab app switcher). I’d turn it off while you’re getting used to the program. You can disable this easily:
- Click on All Macros is the list on the far left of the KM Windows
- Click Edit > Find > Find in All Macros and enter the string “Switcher”.
- You’ll see four macros appear in the middle panel – these are switchers for Applications, Windows, and clipboard histories. Select them all and right click to get a context menu. Choose ‘Disable 4 macros’ and won’t see them again.
All four macros are useful, so you’ll want to look at them later, but for now, it’s probably better to get them out of the way. To get them back, just follow the same steps and choose ‘Enable 4 macros’ instead.