![]() If you don’t want to buy Keyboard Maestro, macOS’s built-in Automator (, free) can be used in some cases. One nice thing about KeyboardMaestro is it can record the keystroke, so you don’t have to remember names like “NumpadAdd”. To replicate the `Send, ` part of your script, you would add a Type a Keystroke block to your macro. In this example, whatever your cursor is over would scroll left in addition to the macro being activated. A Device Key trigger responds to a single device input, but sadly, it doesn’t block the input from being passed to the OS. ![]() However, to respond to a mouse input like Scroll Wheel Left, you would have to use a Device Key trigger. For example, Shift+Ctrl+S triggers a macro that puts my laptop screen to sleep. Most of my macros have Hot Key triggers, which capture to keyboard shortcuts. Keyboard Maestro’s triggers can associate custom shortcuts with your macros. Each macro can have a number of triggers, most commonly Hot Key triggers. You can also embed shell scripts or AppleScript. In Keyboard Maestro, you define macros using a drag-and-drop scripting language. The closest equivalent to AutoHotkey in general is Keyboard Maestro (, currently $36), a proprietary app. Specific ways to reproduce these AutoHotkey scripts on macOS (a repost of my comment on Lobsters):
0 Comments
Leave a Reply. |