Well, this is only somewhat curated, and not documented, but this is my Examples Macro Group which has been collected over many years. Some of them may be old enough that they are no longer good examples, or solve problems that no longer exist.
Examples Macro File.kmmacros (379.8 KB)
It contains the following examples:
- A Timer Example
- Add 5 Seconds to to HH:MM:SS time
- Add to HH:MM time
- Append Selection to BBEdit Scratchpad
- Bring Largest Window to Front
- can't
- can't2
- Capture All Screens
- Check For Password in Plain Text Fields
- Click and Drag Back
- Close Tab (with Safety)
- Control Typing Speed
- Convert to JPEG
- Create Link
- Date Addition
- Date of Last Friday
- Display as Currency
- Display as Currency v6
- Display Current Mouse Position
- Display Large Text
- Double Tap Control
- Draw a Face
- Draw a Smiley
- Draw Circle
- Draw Template
- DropBox { Toggle }
- Execute Shell Script without Waiting
- Find Last Added
- Find Latest File
- Find Matching File
- Finder Find by Name
- Finder Hide Hidden Files
- Finder Selection Bug
- Finder Show Hidden Files
- Fix 12 Hour Date in 24 Hour Locales
- Fix Mail Missing Cursor
- Fix TWo
- Fix TWo
- Form Example 1
- Form Example 2
- Get Multiple Results from Execute JavaScript
- Get Telstra Bill
- Highlight Mouse
- Indirect Variable Access
- Insert Numbered List
- Iterate Through List
- JavaScript for Automation
- Lookup Name
- Make Styled Text from Clipboard
- Month From List
- Move Selected Files to Desktop
- Move Window while Command Key is Down
- Once Per Day
- Open Downloaded PDFs in Preview
- Parsing/Formatting Dates
- Password Display
- Password Store
- Periodic Screenshots
- Print to PDF in Mail
- Prompt For User Input
- Read a Random Line from a File
- Really Quit?
- Red Strikethrough
- RegEx Typed String
- Reminder
- Rename Files to Creation Date
- Rename Selected Files With Date
- Replace Placeholder
- Resize Proportionately
- Resize Selected Images
- Save screenshot if notification pops up
- Say Hello on Login
- Select Font in Pages
- Select Name From List
- Set Action Delay Example
- Set Finder Files Labeled Red
- Set Network Location to Home
- Set Network Location to Work
- Share Finder Selection to Dropbox Public
- Slow Typing
- Smart French Quotes
- Smart Quotes
- Speak Numbers
- Tag Selected Files Red
- Timer via Trigger Macro by Name
- Toggle Finder Show All Files
- Toggle Firewall
- Translation Mapping
- TypedString before&after word break
- Variable Repeat
- Web Login
- Web Login Basic
- Web Login With Keychain
- Web Page Contains