The ComputorEdge page "Free AutoHotkey Scripts and Apps for Learning Script Writing and Generating Ideas" offers over 75 AutoHotkey scripts and Windows utilities. Most of them I wrote to demonstrate practical applications for many AutoHotkey commands and functions. A number of them offer alternative downloads for tools written by other AutoHotkey scripters—such as the powerful and useful Regular Expressions (RegEx) Tester by Robert Ryan. Some—such as the no-longer-available Windows XP Clipboard Viewer—give you a way to download a legacy tool.
I attempt to use descriptive script names which give a hint as to its purpose. The page provides more information about each download.
This page acts as the primary script reference for my AutoHotkey books. I discuss how many of these scripts work in detail in my blogs and books. They contain a wealth of tips and tricks accumulated over the years.
Some of these scripts have worked their way into my regular Windows computing habits. I hope to highlight the most addicting ones in this forum. Oné or two scripts may no longer function properly (i.e. Dictionary.ahk) but continue to act as a starting point for some scripts while acting as a reference for the books.
For the most part, the downloads provide the most recent version of the script. I have not done the best job of documenting changes, but I'm trying to get better. (In my defense, almost all of the evolution of the various scripts appear in my blogs and books.)
If you want to compare code between AutoHotkey Version 1.1 with Version 2.0, the scripts marked "(v1,v2)*" offer the app in both formats.
I plan to start adding to this post links for each of my scripts but it will take a little time. That should offer direct access to the code.
AddDate is a demonstration script for adding dates to documents. When loaded, the script uses four different methods demonstrated with Hotkey combinations:
CTRL+WIN+F1 => The datetime stamp (i.e. 20130628103349)
CTRL+WIN+F2 => The date using the FormatTime command (FormatTime, TimeString, %A_NOW%, MMMM d, yyyy)
CTRL+WIN+F3 => The date using built in variables (%A_DDD%, %A_MMM% %A_D%, %A_YYYY%)
CTRL+WIN+D => The MonthCal GUI pop-up calendar (Gui, Add, MonthCal, vDayPick)
Anow => Instantly add today's date formatted (September 7, 2013)
Adate => Activate MonthCal GUI pop-up
Included in the book A Beginner's Guide to AutoHotkey. Two Hotstrings included in the AutoHotkey Applications e-book.)
• AddNextWeekday.ahk creates a series of Hotkeys which insert the next weekday date into any document or editing field.
Use the letter "d" (date) followed by the abbreviation for the weekday and a format number (e.g. dsun2—all lowercase letter)
as the Hotstring. (Currently only two formats— the number 1 for "5-20-18" and the number 2 for "Sunday, May 20, 2018".)
Each Hotstring calls the function Weekday() which calculates the next weekday number, then the date for that day.
• AddDate.ahk2 - New AutoHotkey Version 2.0 example script.
• AddressBook.ahk Included in the AutoHotkey Applications e-book.
This example of a ListView GUI keeps a database of names and addresses. The script initiates e-mail,
inserts name and address into documents, and calculates ages. A personal address and data book which uses AutoHotkey
ListView to display entries. Right-click on entry to send e-mail, insert the address in any document or calculate ages.
• Always_on_Top.ahk—Plus Window Transparency - Included in the book A Beginner's Guide to AutoHotkey
Always_on_Top is a one-line script which toggles any active window always-on-top with the Hotkey combination CTRL+WIN+F8.
Code: Select all
^#F8::WinSet, AlwaysOnTop, toggle, A
CTRL+WIN+F9 for semi-transparent
CTRL+WIN+F10 for opaque
CTRL+WIN+F11 for a menu of four levels of opaqueness
See Section 5.1, "Window Manipulation with the WinSet Command" in the book Jack's Motley Assortment of AutoHotkey Tips
for discussion of the above window transparency Hotkeys.
• AutoHotkey Quick Reference Script
This section of the scripts' page includes various starts on reference scripts for AutoHotkey—both versions 1.1 and 2.0. The original script depends upon an index in the AutoHotkey.com
site—which I now realize supports the "docs" tags in the forums. See this AutoHotkeyQuickRef.ahk script for the original 1.1 version.
For the most recent version of the script (AHKVer2Ref.ahk), select a V1.1 command and use the Hotkey combination CTRL+ALT+J. Currently, a message box pops up displaying key information for both V1.1 and V2.0. (Shown at right for the MsgBox command.) Use the MsgBox buttons to load V1.1 or V2.0 pages. I only made it about halfway through the lookup table. For more information see "Building a Lookup Table with an INI File (AutoHotkey Reference Tip)."
A control center using the ListView GUI control for starting and stopping various independent AutoHotkey scripts,
plus a dropdown menu to use features in each script. (Included in the AutoHotkey Applications e-book.)
• AutoStartToggle.ahk discussed in Chapter 13.1.6 "Automatically Launch Apps at Windows Startup" of the book Jack's Motley Assortment of AutoHotkey Tips.
The AutoStartToggle.ahk script creates Windows shortcuts in the StartUp folder for files selected in Windows File Explorer. Select the .exe or .ahk file in Windows File Explorer and use the Hotkey combination CTRL+WIN+3 to either add a shortcut to the target file in the StartUp folder or, if it already exists, remove the shortcut from the StartUp folder.
• BackupText.ahk included in the book Digging Deeper Into AutoHotkey
The BackupText.ahk script copies selected text to a text file in the user's Documents folder in a file named SaveEdit.txt. Each time the CTRL+ALT+B Hotkey combination is used, AutoHotkey selects all the text in the document or Web editing field, copies it to the Windows Clipboard, then saves it to the SaveEdit.txt file. This is only for quick, temporary backup of current unsaved work. The old file is overwritten each time the routine is used. To do incremental backup for text see IncrementalSaveText.ahk.
• CalorieCount.ahk Included in the AutoHotkey Applications book.
This AutoHotkey script keeps a daily log of calories consumed. It includes a special feature for importing specific food calories directly from the Internet.
• ChangeCase.ahk included in the book Jack's New Beginner's Guide to AutoHotkey.
When loaded the ChangeCase script sets up Hotkey combinations which change the case of selected (highlighted) text:
CTRL+U => Change selected text to all upper case (StringUpper)
CTRL+L => Change selected text to all lower case (StringLower)
CTRL+SHIFT+U => Change selected text to all words with an initial capitalized letter (StringUpper with the parameter T)
See the LetterSwap.ahk script for another AutoHotkey editing trick.
• ChangeVolume.ahk discussed in Chapter Six of the book AutoHotkey Hotkey Techniques.
One of my favorites, simply scroll the mouse wheel up or down while hovering over Windows Systems Taskbar to adjust Windows' speaker volume. The script uses conditional directives (#If expression) to isolate the mouse scroll wheel as a Hotkey.
New AutoHotkey Version 2.0 example script: ChangeVolume.ahk2
Ten down, sixty-some to go.
January 8, 2020 As I add new scripts or modify old scripts, I'll note the changes in posts added to this thread.