Giter Club home page Giter Club logo

km-macros's Introduction

This repository contains my custom Keyboard Maestro1 macros:

INSTALLATION

go to Keyboard Maestro > File > Import Macros...

some of the scripts are application specific, so i suggest you create a new group for these and assign them to the respective applications.

AVAILABLE SCRIPTS

Text Expansion Macros

Text Emoji Macros

My carefully curated list of text expansion macros for emojis. I believe this will be my most priced online contribution to this world.

Text Snippet Macros

Basically all other text snippets that aren't macros. Worth noting there's a bunch of really useful ones for date expansion that have been some of my most used ones e.g.

dt-     today's date formatted as yyyy-mm-dd
dt/     today's date formatted as yyyy/mm/dd
dthu    Human readable date - Jul 10, 2022 [Sun]

There's plenty more that i've found to be pretty useful over time.

Window Movers

After dabbling with a bunch of really good Window management apps (Moom, BetterSnapTool, Mosaic, Divvy, Phoenix) I switched back to using Keyboard Maestro because it allowed me to program highly specific behaviors that I was looking for. Here's a list of some of the variants:

  • wm: center - center the window to your screen
  • wm: full - full screen
  • wm: half left - left half of the screen
  • wm: half right - right half of the screen
  • wm: major left - 72% of the left portion of your screen
  • wm: major right- 72% of the right portion of your screen
  • wm: minor left - 25% of left portion of screen
  • wm: minor right - 25% of left portion of screen
  • wm: screencast- resize to 1280 X 720
  • wm: split 3 center - resize to 1/3 size of screen and center
  • wm: split 3 left - resize to 1/3 size of screen and left align
  • wm: split 3 right - resize to 1/3 size of screen and right align
  • wm: vertical fill - with the existing width resize window to full height of the screen
  • wm: tile apps - "tile" all the windows of the front most app so i can easily spot them.
  • wm: tile apps all - "tile" all the windows of every app that's open and running so i can easily spot them.
  • wm: time machine - take all the windows of the front most app and rearrange them like how time machine on the mac does (see picture below)

time machine screenshot

ARCHIVES

This repo used to have a bunch of useful scripts, I've moved these to the archive directory for posterity but don't actively use the ones here.

  • Backup complete Keyboard Maestro Shell script
  • Open two new Finders and align : (apply to Finder)
  • Delete Permanently : (apply to Finder)
  • Keyword Search Engine : (apply to Browser)
  • Text Manipulation Snippets
  • Kill Mouse Acceleration at login

Footnotes

  1. That's my referral link to Keyboard Maestro.

km-macros's People

Contributors

kaushikgopal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

km-macros's Issues

If no text is selected, the macro shouldn't try pressing ⌘X

Hello there,

I've just seen these macros on Gabe's macdrifter blog. Excellent work. Since I've been using this for a couple of hours now, the system beep I always hear when the macros are executed is a bit annoying.

Here is a suggestion for you. You could create another if clause right at the beginning and tell it to "Menu availability: Cut". If it's not active, then set the clipboard to NOSELECTION, if it is active, press ⌘X.
This way you can also get rid of creating an unnecessary clipboard entry and simply set a variable. Variable: NoSelection = TRUE and then if-clause that later.

A picture that describes what I mean: http://dl.dropbox.com/u/6102/tmp/Screen%20Shot%202012-03-20%20at%2016.27.05.png

Let me know if you need more help with this.

Good job by the way!

Andreas

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.