User Tools

Site Tools


Ideas

**This is an old revision of the document!**

This is a collection of some of the most impressive and also easiest macros users wrote. As an inspiration and starter for fellow Keyboard Maestros.

Text

A macro with the following layout:

Type the ⌘C Keystroke
Filter Clipboard with XXX
Type the ⌘V Keystroke

Will serve as a template for many useful macros:

  • lowercase text
  • UPPERCASE text
  • Title Case text
  • Smart Quotes
  • Dumb Quotes
  • Encode HTML Entities
  • Remove Style
  • Calculate

You cal also use filters to count the number of characters, words or lines, and then replace the Paste action with:

Notification ‘Word Count:’ %Clipboard%

Windows

Using the Move Front Window by Pixels action you can create a window mover group. I personally have this in a group that is activated/deactivated with a hot key. This way I can execute macros multiple times after another, e.g. to move a window.

  • ←, →, ↑, and ↓ move windows by 1px.
  • with ⇧ as additional modifier windows move by 25px.
  • with ⌥ windows resize by 1px.
  • ⇧ and ⌥ resize windows by 25px.

Also nice and useful are macros to maximize and center windows.

The Manipulate Window action is also great to save and recall “window presets”, so that you can quickly move and resize windows to your preferred dimensions, e.g.:

Resize Front Window to Pixels 1280x720
Center Front Window

If you found a particular window size that you like use a Measure Window action to get its dimensions:

Set Variable ‘WindowSize’ to Text ‘%WindowSize%1%’
Display Text ‘%Variable%WindowSize%’

This will save the front window's dimensions to a variable named WindowSize. You can view the value of this variable in the preferences. Alternatively add a Set Variable ‘WindowSize’ to Text ‘%Delete%’ to delete the variable at the end.

Slightly more advanced are macros to move a window to screen edges without resizing.

Download Move To Screen Edges macros

Where's my mouse?

Create a new macro and map it to the hot key “m” inside the Windows macro group:

Highlight Oval at MOUSEX(),MOUSEY(),200,100
Ideas.1413455232.txt.gz · Last modified: 2014/10/16 06:27 by peternlewis