![]() ![]() 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. Here are the programs I used to do it, and how I could use them to solve your use-cases: AutoHotkey equivalent On macOS, I have managed to set up equivalents to many of AutoHotkey’s features. Yeah, AutoHotkey was great when I was using Windows. ![]()
0 Comments
Leave a Reply. |