Hammerspoon keystroke every few seconds password# Sometimes wscript.shell's SendKeys method can be a little quirky, so if you run into problems, replace the fourth line above with this: Add-Type -AssemblyName System.Windows. Hammerspoon keystroke every few seconds windows#.Hammerspoon keystroke every few seconds password#.I use Chrome’s cVim extension to browse the internet using my keyboard. MacOS lets you use Emacs editing commands in literally every text box. If you know the basics of either of these, you’ll start wanting to use them everywhere. Emacs is kind of an application platform that happens to have a text editor in it. Vim lets you do build tiny macros with text on the fly. You may also see references to Zsh or Fish. I don’t know of a good tutorial, but command line knowledge in general is super useful for a developer. Lots of small commands fit together in satisfying, occasionally productive ways. It’s much easier to automate terminal applications than it is UI stuff. Yes, you can use Alfred to launch a Hammerspoon macro that calls AppleScript. But it’s so useful you’ll probably end up using it quite a bit for automating GUI apps. Wait half a second for search results to appearĪnd so on.Applications don’t always do what you want them to do instantly, so you end up with lots of code that works like this: It lets you automate basically anything you can do with a mouse and keyboard. You’re gonna start running into this with Alfred workflows or maybe Hammerspoon pretty quick. You can make your terminal and IDE always open on the same screens in the same positions. You can mute iTunes when your laptop connects to wifi at work. It slightly overlaps with everything else on this list. In terms of power and ease of use, this is sort of a massive multipurpose chainsaw that you program using Lua. A completely keyboard driven interface on top of the reminders app.A menu command that searches the menus of the active application.A meme command that searches your gifs folder and pastes images into Slack.Ok, so the paid version of Alfred lets you create elaborate workflows using stuff you type into the launcher as input. Make the Enter key open files in finder.Make Caps Lock behave like Esc when pressed, but Ctrl when pressed with another key.Swap Cmd and Alt, but only on your Windows keyboard.There are others, but those are the ones I primarily use. Cmd+Alt+Ctrl+Arrow to shift a window between monitors.Multiple times to cycle through window sizes. Cmd+Alt+Arrow to shift a window to a side of the screen.DevDocs.io is another great custom search to add. Add custom search keywords I have some set up to search the internal admin dashboard and wiki at work. Use it to launch all your applications, lock your computer, search your files, search the internet. System Preferences → Keyboard → Shortcuts → Full Keyboard Access… → All Controls Alfred This will enable you to press to switch between buttons in modal dialogs. In order of ease of use: MacOSįirst thing is to enable keyboard control of GUI elements. The most important quality in a tool is that it blends into the background and I don’t have to think about it. I didn’t know I had knowledge anyone wanted! Here’s a list of tools I regularly use to bend my environment to my whims. A coworker asked me to summarize the desktop utilities I use.
0 Comments
Leave a Reply. |