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.
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:
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%
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.
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.
Create a new macro and map it to the hot key “m” inside the Windows macro group:
Highlight Oval at MOUSEX(),MOUSEY(),200,100