For Speed, Replace the Send Command with Control, EditPaste (AutoHotkey Tip)

The Control, EditPaste Command Adds Great Speed to Standard Text Insertion Routines—within Certain Limits

My work in the last blog on “Why AutoHotkey for Students?” fired off a couple of personal AutoHotkey epiphanies. After all these years of using and writing about AutoHotkey, I continue to readthemanualsurprise myself with new discoveries. If I had read every word of the documentation (and possessed the ability to remember it all), then I may have understood these insights long ago. However, the AutoHotkey documentation contains a wealth of information which takes a great deal of time to digest.

I can’t fault the online manual because it covers nearly everything. Yet, it doesn’t always point out which bits are the most useful. When I discover a command or technique which significantly improves the operation of a script, I call it a “Best Practice.” Otherwise, I tend to keep using the same old techniques until something causes me to dig a little deeper. Last week presented just such an opportunity.

The biggest problem introduced by discovering these little gems involves going back and testing their limitations, then replacing all my old code lines with the better technique. Continue reading

The WinSet, ExStyle Command for Mouse-Click Transparent Windows (Intermediate AutoHotkey Tip)

After Always-On-Top and Translucent Windows, Use the WinSet Command to Make a Mouse-Click Transparent Help Window, Plus a Discussion of the Mysterious (and Confusing) Microsoft Window Styles/ExStyles (WS_XXX and WS_EX_XXX)

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

Inserting Future (or Past) Dates and Times with AutoHotkey GUIs and Hotstring Menus (continued), (Part 11, Beginning Hotstrings)

Using the DateTime GUI to Enter Both Times and Dates into the AutoHotkey Hotstring Replacement Menus

Last time, I added the MonthCal GUI control to the DateMenus.ahk script which allows the selection of any date for the date formatting pop-up menu. The primary problem with using the MonthCal GUI was that there is no time component in the result. If all you need is the date inserted into a document, then MonthCal works great. However, to get an option for including any time of day, the DateTime GUI control does the trick. Continue reading

Inserting Future (or Past) Dates and Times with AutoHotkey GUIs and Hotstring Menus, (Part 10, Beginning Hotstrings)

Add Methods for Inserting Any Future or Past Date or Time into Your Windows and Web Documents with AutoHotkey GUI (Graphical User Interface) Pop-ups Using Hotstring Menus.

Continue reading