New Hotkey Book! (AutoHotkey Tips and Tricks)

AutoHotkey Techniques and Best Practices E-Book for Automating Your Windows Computers with Hotkey Combinations—Includes Something for Everyone!

Whether you’re a noobie to AutoHotkey scripts or an advanced programmer, of all my books, AutoHotkey Hotkeys may be the most important for new little-known tricks and useful ideas. It’s not that the other books don’t cover significant features of AutoHotkey, but this book includes some of the most practical tips for adding power to your scripts. I didn’t plan it that way. Continue reading

Tips for Smoothing Out AutoHotkey Scripts with #If, Tooltip, and Quick Release Hotkeys (Beginning Hotkeys Part 19)

Enhancing the MousePrecise.ahk AutoHotkey Script with the #If Directive, the Tooltip Command, and a Quick Release Hotkey

Continue reading

AutoHotkey Solutions for Windows Clipboard Limitations (AutoHotkey Clipboard Tips)

Sometimes It’s Just Easier To Set Up a Temporary Hotkey for Inserting Text in Documents, Web Pages, or Forms, Plus a Quick Reminder of a Couple of Cool Clipboard-like AutoHotkey Apps (ClipJump and PhraseOMatic)

Continue reading

AutoHotkey Script for Precision Hotkey Mouse Movement in Windows Graphics Programs (Beginning Hotkeys Part 15)

This Short AutoHotkey App Adds Pixel Level Precision to Mouse Cursor Movement in Any Windows Graphics Program. Plus, Best Practices When Creating Hotkeys and More.

From time to time I use various Windows graphics programs. I regularly open Irfanview as my default image reader and occasionally use the built-in Windows Snipping Tool for screen capture. But my favorite graphics program is the free Paint.Net image and photo editing software for PCs. I usually design Web ads and cleanup embedded images with Paint.Net. However, there is one annoying factor when working with virtually any graphics software. Using a mouse for selection and alignment tends to be inaccurate and sloppy. It’s very difficult to move the mouse cursor with pixel level exactness—at least not without massively magnifying the image size.

Continue reading

AutoHotkey Scan Codes, Speech, Sound, and Splash Images in Children’s Apps (Beginning Hotkeys Part 13)

Write Toddler Educational Hotkey Scripts by Combining AutoHotkey Scan Codes, the SoundPlay Command, the SplashImage Command, and ComObjectCreate() for Speech

I started digging deeper into the weeds of identifying and using AutoHotkey Scan Codes and Virtual Key Codes (introduced last time), when I decided to take a diversion into a little fun, but practical approach to using Scan Codes for educational programs. Sink your AutoHotkey scripting teeth into this educational example. It covers a simple approach for teaching little ones keyboard numbers and letters by combining Hotkey techniques from earlier blogs, plus speech, sound, and SplashImages from chapters in the AutoHotkey Applications book.

Continue reading

Windows Volume Control Using Your Mouse Wheel and the AutoHotkey #If Directive (Beginning Hotkeys Part 6)

The AutoHotkey #If Expression Directive and Hotkey, If (Expression) Command Make Hotkeys Expression-Sensitive, Plus a Simple No-Click Volume Control Script

Volume Control
The mouse wheel controls volume while hovering the cursor over the Taskbar in Windows. (This is a Windows 10 example).

The AutoHotkey documentation for the #If expression directive includes a short script at the bottom of the page which is perfect for demonstrating how to use the Hotkey, If (Expression) command and its interdependence on the #If expression directive. It’s a cool little app because it reduces Windows volume control to simply scrolling the mouse wheel up or down while hovering the mouse cursor over the Windows taskbar—no click required!

*         *          *

This beginning Hotkey blog builds upon the discussions in the previous parts. If you find any of the information too confusing, then reviewing earlier blogs may be worthwhile.

New to AutoHotkey? See “Introduction to AutoHotkey: A Review and Guide for Beginners.”

*          *          * Continue reading

Exploring the Hotkey Command in AutoHotkey (Beginning Hotkeys Part 5)

The Hotkey Command Adds Immense Flexibility to AutoHotkey Scripts, But You Should Know How and When to Use It!

As I review the Hotkey command for my upcoming explorations, I note that it offers many capabilities which add flexibility and power to Hotkeys (and in some cases to Hotstrings). The advantage to the Hotkey instruction is that unlike the basic double-colon Hotkey definition (!#^h::command) which gets defined in the first phase of AutoHotkey file processing, it can run at any later time—either while loading in the auto-execute section or after the file loads in any subroutine or function.

Continue reading