milifly.blogg.se

Keyboard maestro alternative
Keyboard maestro alternative





  1. Keyboard maestro alternative how to#
  2. Keyboard maestro alternative software#
  3. Keyboard maestro alternative code#
  4. Keyboard maestro alternative download#
  5. Keyboard maestro alternative mac#

SetMacroEnable "Sync Keyboard Maestro" without enableĭisables the sync macro before quitting the editor, which writes the disabled script to disk only to have it written over by the hazel action’s later behaviour.I have been using macOS for quite some time and was looking out for a tool that would help me out with repetitive copy paste work. I haven’t had any issues with the setup as it is, but if you want to be on the safe side:Ī user pointed out that if Keyboard Maestro editor is actually running on the target mac, when it quits it will induce a sync in the reverse direction, which is not desirable.Ĭhanging the first script of the hazel script to: tell application "Keyboard Maestro"

keyboard maestro alternative

Keyboard maestro alternative software#

Peter Lewis from Staircase Software just send me an email with an updated AppleScript which takes care of some problems. In case you accidentally haven’t waited till the Dropbox synchronization is done, there’s still a copy of the most recent database in your Dropbox sync folder on that other machine. In short: You’ll have to wait every time for the Dropbox sync to finish before opening Keyboard Maestro on your second Mac. If you open and close Keyboard Maestro on any of your Mac’s a new sync gets triggered. The database – ~/Library/Application Support/Keyboard Maestro/Keyboard Maestro ist – is now synced and as a reset indicator the synced file in ~/Dropbox/Sync has a green color label. Also, the system notification entered in Hazel should tell you when our sync is finished. On your MacBook you will have to wait until Dropbox is finished syncing before opening up Keyboard Maestro there.

Keyboard maestro alternative mac#

If you open Keyboard Maestro on your desktop Mac and close the Keyboard Maestro Editor the database will get copied to your Dropbox folder and an orange color label will be applied to the file. On your second Mac you setup the exact same rule like in step 6 but you change the color of the applied label to red – the embedded script does not change. Osascript -e 'tell application "Keyboard Maestro Engine" to reload' Osascript -e 'tell application "Finder" to set label index of alias POSIX file "/Users/patte/Dropbox/Sync/Keyboard Maestro ist" to 6'

  • Add the Dropbox “Sync” folder in Hazel (here: ~/Dropbox/Sync) and create this rule:Ĭopy the following snippet into the embedded script: osascript -e 'tell application "Keyboard Maestro" to quit'Ĭp /Users/patte/Dropbox/Sync/Keyboard\ Maestro\ ist /Users/patte/Library/Application\ Support/Keyboard\ Maestro/Keyboard\ Maestro\ ist.
  • On Mac #2 (here: MacBook) paste this snippet (see screen shot point 4b): tell application "Finder" to set label index of alias POSIX file "/Users/patte/Dropbox/Sync/Keyboard Maestro ist" to 2 Copy and paste the snippet into the action (see screen shot point 4a): tell application "Finder" to set label index of alias POSIX file "/Users/patte/Dropbox/Sync/Keyboard Maestro ist" to 1 The next snippet takes care of changing the color label of the macro database file to orange on Mac #1 (here: desktop Mac) if Keyboard Maestro quits. Copy the following snippet in each of those (see screen shot point 3) – in case your folder isn’t called “Sync” remember that spaces are \space in terminal paths: cp -rp ~/Library/Application\ Support/Keyboard\ Maestro/Keyboard\ Maestro\ ist ~/Dropbox/Sync/Keyboard\ Maestro\ istĪdd an Execute an AppleScript Action to the macro (again to both If-conditions). In both If Then Else actions we need an Execute a Shell Script action.

    keyboard maestro alternative keyboard maestro alternative

    The next component will copy the Plist into our sync folder. Enter the names of your hard drives here (see screen shot point 2). We, or more precisely the macro, needs those to determine on which Mac it is running at the moment. The next thing on the agenda is to add two If Then Else actions.Open Keyboard Maestro and create a new Macro with an application trigger that will fire as soon as Keyboard Maestro quits (see screen shot point 1).It will work as a temporary storage for the Keyboard Maestro Macros 1. Create a folder called “Sync” in your Dropbox.Dropbox (or Google Drive or a similar service).

    Keyboard maestro alternative download#

    You can download the macro and Hazel rule on my GitHub.

    Keyboard maestro alternative code#

    That is why I decided to publish a step-by-step tutorial with screen shots and the necessary code snippets. I had to try out some Hazel rules before I got it right. Still, the whole process can be a bit tricky, c.f.

    keyboard maestro alternative

    Keyboard maestro alternative how to#

    The wiki on the Keyboard Maestro website already has a manual that explains how to pull it off. I sat down today and thought to myself that before continuing to share more Keyboard Maestro tips, it would be useful to the ones who own more than one mac to explain how to sync Keyboard Maestro across multiple machines.







    Keyboard maestro alternative