3 ms·
I’ve done the text prompt a couple different ways. One was with HammerSpoon. The config is in Lua. I could bind a function to a keyboard shortcut, have it brin
by al_borland 2y ago
I’ve done the text prompt a couple different ways.
One was with HammerSpoon. The config is in Lua. I could bind a function to a keyboard shortcut, have it bring up a text field, and append the input to my file based on getting the current date.
I also did something similar with AppleScript (which actually uses some JavaScript now) and used the native features of macOS to setup a keyboard shortcut. If I remember correctly this required some nonsense with Automator (maybe Shortcuts would be the way to go now). All of this was done because I was having some weird behaviors and wanted to get rid of HammerSpoon to reduce possible causes. HammerSpoon didn’t seem to be the problem.
Previously when I was on Windows I’d use AutoHotKey for this kind of thing.