However, I found out there is a slight downside to using scripts, but for many things, they work great. You can even create GUI dialogs using QT or GTK. There are some classes to help you do things like control the keyboard and mouse from a script. These are exactly the same except instead of typing a phrase, a piece of Python code runs. The real power, though, is that you can create scripts instead of phrases. So it is possible to have one set of shortcuts for your word processor and another set for your web browser. Finally, you can limit the match to a particular window class matched with a regular expression. Of course, you can also support multiple hotkeys with multiple identical entries. Autokey is easy to set up for simple text replacement, but can also accommodate complex Python scriptsĪ phrase can only have one hotkey, but you can have a hotkey and abbreviations either will trigger the phrase. It is possible to add multiple abbreviations, so I could have extra triggers of had~ and if I wanted the program to automatically correct my bad spelling. The trigger can be a hotkey (like Alt+Shift+F6) or it can be text you type like ~had. A phrase has two parts: a trigger and some text. On the other hand, if that’s all you want, it is easy to set up using phrases. If that’s all AutoKey did, it would be pretty handy. I could set up ~had to automatically type the correct URL for me. So maybe I’m tired of typing or mistyping. I usually use some odd character at the start or end so I don’t accidentally trigger things. In its most simple usage, you can set up different phrases to substitute what you type.įor example, I might reprogram HaD to show up as Hackaday to save myself some typing. The Value PropositionĪutokey sits in your system tray and it watches what you type. However, it isn’t without its problems, and I’ll tell you what I know about it. (You can download my files for it, but you probably want to read more first.) It probably doesn’t work if you have switched to Wayland, but it can do a lot for you ranging from saving you some typing to reprogramming your favorite program to have different keystrokes. The answer is a very cool program called Autokey. Especially if I’m writing about code, it gets hard to remember which set of keys you have to use and I’ve wanted to do something about it for a long time. But I also spend a lot of time - like right now - writing in a Web browser. I still use emacs a lot (although I’ve been getting more and more pleased with vscode with an emacs keybinding extension). With no X11, emacs gave you a way to have a shell in one window, check your mail, and keep your work open. There was a time when emacs was almost my operating system. It is no secret that I have a few things permanently burned into my neurons: the 1802 instruction set, the commands for WordStar, and the commands for emacs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |