Giter VIP home page Giter VIP logo

km-macros's Introduction

My favorite Keyboard Maestro macros. Some of these are meant to be executed in a certain app only. This is normally the case when there is a "general" shortcut set like F1, ↑, or ↓. I have every one of these as separate groups (separated by app they're available in).

Download: You can download this entire repository by clicking on here or ZIP above.
Download macros individually by navigating the repo. Click on the files, e.g. Switch back to frontmost app.kmmacros then click Raw. You can then save your macro locally.

Clipboard

  • Append Selection to Clipboard: Puts selected text on clipboard (⌘C) and appends it to the previous entry.
  • Manipulate Clipboard: Displays the clipboard contents in a text field for manipulation. Saves changes back to clipboard.

Finder

  • Symbolic Link: Shows Create symbolic links using Keyboard Maestro.

Final Cut Pro X

  • Find…: This macro clicks some 200px away from the bottom right corner to highlight the search field in the effects browser. (which, annoyingly, can't be a shortcut assigned to)
  • Switch Media: Two macros (activated with F1 and F2) to switch between proxy and high-quality/original media. Essentially what happens is the preference window opens, the second icons gets clicks, and then one of the two radio buttons before the window closes again.

General Use

  • Switch back to frontmost app: I'm using this in my Markdown library so the user can search for information somewhere else while the macro is running. This has no purpose other than showing how to do it. It's a demonstration for your own inspiration.

Mail

  • Copy Message URL to clipboard: Copies the message URL of a selected message to the clipboard. Useful for OmniFocus. Create a task that links back to the original message.
  • Print iTunes Receipt: Macro to print mail as PDF. Note: Requires you to have ⌘P set as "Save as PDF…" in System Preferences.

Markdown

My Markdown library is now part of this repository. Read the other readme on how to use these.

OmniFocus

  • Copy OmniFocus Item URL to Clipboard: Copies OmniFocus URL to clipboard for reference somewhere else.
  • Day Projects: I use a folder labelled "Day Projects", where I have one project for each day of the week. I assign tasks that I want to do over the week to this projects. The projects start on each respective day at 10am. See this Gist for complete history.
  • Mark projects active, completed, dropped, on hold: Press ⌃A, ⌃C, ⌃D, ⌃H.

Special Characters

Various macros to insert special or uncommon characters easily, such as Emojis or control characters like ⌘, ⌃ and ⇧.

System

  • Keyboard Cleaner Maestro: See this post for thorough explanation and context. Once executed this will launch TextEdit, maximize the window and block all input (mouse and keyboard). This way you can safely clean your Mac and keyboard. Once done press ⇧⌃⌘ and wait a little. The window will close itself and TextEdit will quit. Be careful with this!
  • Login sombody…: Quickly login as someone else.

Text

Macros which use the "Filter Clipboard" action. Possibilities: calculate selected text, count characters/words/lines, encode/decode HTML Entities, Percent Encode text, lowercase/UPPERCASE/TitleCase text, smarten/straighten quotes, remove style from text.

TextExpander

  • Change expansion mode of a selected TextExpander snippet. It's an example on how to create shortcuts for a menu that is otherwise not reachable via shortcuts. Default shortcut is F1, F2, and F3. Set to separate macro group to be only available in TextExpander!

Timers

Check the time you spent with a certain activity and act accordingly. Maybe you want to limit the time you spend on Twitter by forcibly closing the Twitter app. Or turn off Internet access after you've been online for 10 hours a day.

  • Timer Start: Triggered on start of your activity. Add an app trigger or script trigger for the aforementioned customizations.
  • Timer Stop: Stops the timer and calculates how much time is left. Add actions like "quit app if total amount has been exceeded". Check the If Then Else action for what you can do with this.
  • Timer Reset: Resets the timer either manually or at 0:00. This makes sure you can spend the same amount of time with your activity every day.

Windows

Manipulate windows with Keyboard Maestro:

  • Move by 1px or 25px.
  • Resize horizontally/vertically by ± 1px or 25px.
  • Resize proportionally
  • Several example resize presets
  • Measure window: for use in previous resize presets or in the following Set Window Size macro.
  • Set Window Size: First measures the frontmost window, then prompts the user for new size.
  • Center/maximize window
  • Where's my mouse?: Draws a circle on the screen in case you can't find your cursor anymore.

Best practice tip: Set macro group to activate and deactivate on shortcut. (I've set this to ⌃⌥W)

Participate

Feel free to send me Pull Requests with your Keyboard Maestro macros.
Please put the macros in a group named "Keyboard Maestro Macros Repo" first, before exporting. When someone downloads/clones this repo and double-clicks a macro, they will be added to that group. This will help to keep this repo more consistent.

If there are numerous macros you want to contribute, then make a separate group, e.g. "Special Characters" in this repository.

km-macros's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.