Make Your Hotkeys Easier by Combining a Rarely Pressed Key and a Simple Mouse Click…or Not! Plus, Take Advantage of More Little Used Keys in Hotkey Combinations
While the Hotkeys from two blogs ago for switching errant letters and the last blog for word swapping are simple enough—merely place the text cursor between the targets of the swap and hit the key combination—they can be made even easier my activating the Hotkeys with a click of the mouse. Rather than using two moves—placing the cursor, then hitting the Hotkeys—combine both into one action by making your left mouse button click part of the Hotkey.
Techniques for Swapping Words Using the StringSplit AutoHotkey Command; ErrorLevel for Producing Alternative Results; a Glance at a Regular Expression (RegEx) for Swapping Words
In the last blog, we looked at a quick Hotkey for swapping mistyped letters in any Windows document or text editing field. Just place the text cursor between the two letters and hit ALT+R. The characters reverse positions. This time the technique is expanded and refined for swapping two words.
Delving into Windows Clipboard Hotkey Tricks for Switching Mistyped Letters in Any Document or Text Editor…Plus, a Discussion of the “Standard AutoHotkey Windows Clipboard Routine”
Note: January 29, 2017—Over time, I’ve come to realize that AutoHotkey scripts should employ a number of different “best practices” in Clipboard manipulation routines. The code includes ClipboardAll, ClipWait 0, and IfErrorLevel. This blog discusses those techniques in detail. I now refer to this AutoHotkey Clipboard setup as “the standard AutoHotkey Clipboard routine.”
I’m taking yet another diversion from the Hotkey command to dig into something just as important (if not more so) when discussing Hotkeys—the action code contained in and initiated by the keyboard combination. Highlighting Hotkeys without looking into the embedded routines is like studying eggshells without learning the nature of the egg. While the various techniques for implementing Hotkeys are significant, looking at the specific AutoHotkey action routine inside may be even more crucial. Continue reading
Standardizing Hotkeys for Deleting Entire Words or Line Segments in Any Windows Program or Web Editing Window
As a diversion from the previous discussions about the Hotkey command (which will continue next time with when and how to toggle Hotkeys on and off), I’m digging into the concept of standardizing keyboard shortcuts throughout all Windows applications with AutoHotkey. This break in direction includes practical editing examples for deleting whole words and line segments with simple common shortcuts. You can immediately implement these editorial Hotkeys in your regular scripts.