Using the Arrow Modifiers () for Left and Right I opted for the Send command to click ( Send command. Therefore, while clicking the left mouse with the left ALT key held down does activate the Hotkey, it does not reposition the text cursor as most mouse clicks normally would. Since the left mouse button is now part of the Hotkey combination, it does not pass on its native function-a left mouse click. If the click does not occur, then the LAlt returns to its native ALT function-which usually selects the top program menu bar. In this case, the right ALT key is waiting for the left mouse click. (See this list of Hotkey modifying symbols.) The first key (which may be any key on the keyboard) becomes the modifying key for the combination and must be held down first before pressing the second key. Note: For the following snippets of code to work properly, the matching Hotkey routines from the previous two blogs must appear in the same script.įor swapping letters the right ALT key ( RAlt) is combined with the left mouse button ( LButton): RAlt & LButton::Ĭreate a Hotkey combination with any two key names by inserting the ampersand ( &) modifier between the two. Combining one of these keys with the click of the left mouse button in a new Hotkey combination can immediately launch one of the scripts from the last two blogs. (See the AutoHotkey Keylist.) The left mouse button is identified by LButton. Take advantage of these lonely keys by adding them to a mouse click Hotkey-making your quick-and-dirty Hotkeys even quicker and dirtier.įortunately, AutoHotkey includes special key names for isolating those left and right keys. For example, the left and right CTRL and ALT keys are identified as LControl and RControl, and LAlt and RAlt, respectively. That leaves the right CTRL and ALT keys untouched-even when I’m not using the mouse. Since most people activate key combinations with one hand while holding the mouse in the other-depending upon whether your left or right handed-certain keys (left or right) tend to go unused.įor example, since I’m right handed, I tend to use my left hand for key combinations while holding the mouse in my right hand for reorienting the cursor and highlighting text. This redundancy offers convenience when using the shortcut keys in particular areas of the keyboard. Take Advantage of Infrequently Used Keys with a Mouse Clickĭuplicated on your Windows keyboard, the CTRL, ALT, SHIFT, and occasionally other keys appear on both the left and right side. In AutoHotkey, there are a number of methods for simplifying Hotkeys. Each technique has its own advantages and disadvantages. In this blog we explore different approaches to making Hotkey combinations even easier to use. New to AutoHotkey? See “ Introduction to AutoHotkey: A Review and Guide for Beginners.” If you find any of the information too confusing, then reviewing earlier blogs may be worthwhile. This beginning Hotkey blog builds upon the discussions in the previous parts. 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. 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. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |