65 Unique Ideas for using HotStrings / Text Expansion

Back in 2022 I was on a call with Ryan Wells, a good friend of mine, and we were both discussing how underused HotStrings were.

We started throwing out different use cases.  I recorded the call and then went back and documented them.
We came up with 65 unique examples however I can guarantee you there are more!

If you’re new to AutoHotkey, we cover HotStrings in our Intro to AHK course

Do you have any that are not on this list❓

Stop Repeating Yourself! Use Text Expansion to Type Smarter

Stop Repeating Yourself! Use Text Expansion to Type Smarter


HotStrings Hacks: Grouped & Ready to Rock

Here’s your reorganized list, all dolled up in HTML. Copy-paste into a file, open in a browser, and boom—easy reading. Pro tip: Add some CSS flair if you’re feeling fancy!

Everyday Chit-Chat Boosters

These are the quick wins for casual typing—greetings, fixes, and words that trip you up.

  1. Greetings / Salutations
  2. Sign offs / signatures / P.S.
  3. Credentials
  4. Spell check
  5. Your personalized misspellings
  6. Things in other languages (thank you in Chinese, Spanish, French, etc.)
  7. Abbreviations
  8. Hard to remember words
  9. Words that are hard to spell
  10. Long words
  11. Adding trademark, copyright, capitalization, spelling etc.

Code Wizardry & Markup Magic

For devs and designers—snippets that save your sanity when coding or styling.

  1. Simple / Complex Formulas
  2. Code snippets (any programming language)
  3. Html tags
  4. BBC tagging format
  5. CSS structures
  6. Specific Hex values / RGB values
  7. Code snippets for helping you recode things (e.g., rec. = (“”=””)(“”=””)(“”=””)(“”=””))
  8. Commenting out lines
  9. Brand police (ensuring brands include ™, © etc.)

Canned Replies & Pro Tips

Ready-to-fire responses, guides, or fun zingers you tweak on the fly.

  1. Canned responses that can be personalized before sending
  2. Canned instructions how to do something
  3. Pull up favorite quotes, insults, jokes
  4. Speed up report writing (mlt. for more likely than, llt. for less likely than)

Biz & Inventory Quick-Draws

Stuff for work hustlers—lists that update easy and keep you organized.

  1. Product list of available inventory, out of stock inventory, etc.
  2. Last order / favorite product / favorite sport’s team
  3. Easily updated email distribution lists
  4. Easily updated phone / SMS texting lists
  5. Top selling products

Symbols, Supers, & Sneaky Chars

Fancy formatting and those elusive icons that make text pop.

  1. Words with Sub / super script
  2. Strange characters: Degree symbol, Trademark, copyright, creating arrow ->
  3. Characters not on your keyboard

Conversion Superpowers

Turn units, times, or cash on a dime—no calculator needed.

  1. Any type of conversion! (Distance, currency, time, volume, language, energy, etc.)
  2. Things you use together (e.g., a Phone number and name of manager usually talk to)

Contact Vault

Your rolodex on steroids—personal deets for friends, fam, or clients.

  1. Addresses
  2. Phone numbers
  3. Emails
  4. Age
  5. Birthdays
  6. Spouse / kids etc.

Pathfinding Hacks

Skip the file hunt—zap straight to your go-tos, even the nightmare network ones.

  1. Paths to frequently used files (avoid navigating / finding that file!)
  2. Paths to frequently used folders (have access to your frequently used folders in every open/save dialog box!)
  3. Paths to crazy-long / complex networked folders (if you work for a large biz, you know what I mean)

Link Launchers

Bookmarks that work everywhere—secure ’em, share ’em, map ’em.

  1. Force https on any url you type
  2. Zoom meetings
  3. Common pages you like (like a bookmark but not tied to a specific browser)
  4. Common pages you share with others
  5. HTML links to pictures/pages that have all the options you’d want
  6. Google maps

Secret Stash (Encrypt These!)

Sensitive stuff—keep it locked down, not plaintext.

  1. Crazy long & complex passwords
  2. Credit cards info
  3. API Tokens / keys
  4. Security codes
  5. Things that change on a regular basis (password, discount codes, combinations, etc.)

Handy Lists & Calendars

Repeatable rote stuff—days, months, or sales hits at your fingertips.

  1. Days of the week
  2. Months of the year

Seasonal & Short-Term Sparks

Hotstrings that come and go—like holiday cheer or flash sales.

  1. Use 1 character for a short time
  2. Use around special occasions like Christmas, Thanksgiving, Valentine’s Day, etc.
  3. During a big sale

Next-Level Ninja Moves

Fancy pants stuff—dynamic, contextual, or clipboard tricks for power users.

  1. Context sensitive (e.g., Commenting out lines (and moving to left X number of times))
  2. Dynamic string replacement (e.g., 34 m. changes to 34 m. / XXX kilometers; Sales tax, etc.)
  3. Time conversion (Insert current date; Insert date for 30 days from now; Change date to time in another time zone)
  4. Copy an image to the clipboard (and paste if you want it to)
  5. Copy content as HTML ready to paste
  6. Copy RTF (bold, color, italics, etc.) to the clipboard and paste

There ya go—your HotStrings list, HTML-style. Now go automate the world!

If you’re new to AutoHotkey, we cover HotStrings in our Intro to AHK course

Bill Gates demonstrates the first use of Text Expansion Ever Recorded

I was watching an old Microsoft video where Bill Gates was demonstrating Visual Basic.   To my surprise he mentioned using Text Expansion (HotStrings)

I always like to say that HotStrings are the “Hidden Gems” of AutoHotkey.   If you’re not using them, you are missing out!

Are you more incompetent than you realize❓ / September 20th AutoHotkey newsletter

AutoHotkey Newsletter

Imagine you have a friend named Joe who likes to write AutoHotkey scripts. He thinks he is very good at it, but his scripts all imitate a human and do not utilize an API approach. Joe also thinks AutoHotkey is “buggy” because his scripts often don’t work (especially when he shares them with other people.)

Joe thinks that other people who write AutoHotkey scripts are not very good and take overly-complicated approaches to make more money.

He thinks he is the best script-writer in the world.

This is known as the Dunning-Kruger effect.  The Dunning-Kruger effect is when people think they know more than they really do.  They are not very good at something, but they don’t realize it. They also don’t accurately evaluate how good other people are.

They believe they are better than average, or even experts (Yikes!), when they are not. This can make them act overconfident and make mistakes and often blame the instrument instead of themselves.

The Dunning-Kruger effect happens because some people don’t have enough knowledge or skill to judge themselves or others correctly.

Often People don’t know what they don’t know❗

The more you learn about something, the more you realize how much you still need to learn. You become more humble and realistic about your abilities.

To avoid the Dunning-Kruger effect, you should always try to learn more about the things you are interested in or need to do. You should also ask for feedback from others who are more experienced or knowledgeable than you. This is one of the best benefits of the AHK hero group.  We have 3 hours of Zoom calls each week where we help provide guidance to Hero members.   Not to mention the private Telegram group where people can ask for help during the week.   Give it some thought.  If you’re not sure, check out these objections that many people think.  You’re probably a better-fit for the group than you think!

Now on with the show…

Intro to AutoHotkeyHotStrings with AutoHotkey Intermediate AutoHotkey Intermediate ObjectsGUIs are Easy w/AutoHotkey Make the switch to v2

HotStrings & Hotkeys that paste: Images, Text, and Hyperlinks / Rich text

For several years now sending keystrokes with AutoHotkey has been problematic.   It got so frustrating I asked Irfan to adapt many of my HotStrings to paste the text (instead of sending keystrokes).

This is a much more reliable way to get the text where you want it.   Nothing too special here…   But I also realized it is super easy to trigger them with either a Hotkey or a HotString.   Still, nothing too “wow” leveled (other than having automations that worked reliably).

Then I realized why don’t we kick it up a notch by making it easy to paste Rich text / Text with Hyperlinks and/or pictures.  Wow Now we’re on to something!

The function parameters are very easy to follow.  We share how to use them in this video.

Easily sending text, HTML or pIctures with Clipster
Easily sending text, HTML or pIctures with Clipster


We’re also considering wrapping the whole thing in a GUI to allow non-AutoHotkey users a way to have this functionality.  😊

Easily Adjusting your DPI

We just released two scripts that do (basically) the same thing.   They both make it super-simple to assign a hotkey to change your DPI.  One of them allows you to assign the monitor the hotkey will be applied to while the other just looks at the monitor your mouse is over.  You can see them in use in this video.

Two AHK scripts to easily change your Monitor’s DPI Scaling
Two AHK scripts to easily change your Monitor's DPI Scaling


How to Create & Use Custom functions

Last week I mentioned this video extracted from Intro to AHK v2 that explains how you can use the built-in AHK functions.    This week I’m following up by sharing this video which helps you see how you can write your own functions.  Functions are a crazy-powerful way to level you up!

Defining custom functions in AutoHotkey v2
Defining custom functions in AutoHotkey v2

Don’t forget, all of our courses come with an amazing 200% money back guarantee!

200% Money Back Guarantee badge with a yellow and green starburst seal for AHK courses


Pinning Files / Scripts in Windows 11

I have to say I’m not loving Windows 11❗ Granted, I wouldn’t even be using it if I hadn’t found this app that allows me to put the Taskbar on the side.  In this video I walk through a work-around on how to pin non-executables to the Taskbar.

How to Pin a non-executable file to Taskbar in Windows 11
How to Pin a non-executable file to Taskbar in Windows 11


How to create a File Installer with InnoSetup

A while back Jean Lalonde, author of Quick Access Popup, gave us a great tutorial on how to use InnoSetup.  In this video Jean walks us through many of the settings and how it can be configured to give your script a “level-up”.

💻 Take file installation to the next level – Use Inno Setup like a pro!
💻 Take file installation to the next level - Use Inno Setup like a pro!

Incidentally I spoke with Jean last week and he’s been hard at work on his other “clipboard” tool.  You can see an overview of it’s functionality in this video.

💥 Supercharge your productivity with this Amazing Clipboard Tool!😲
💥 Supercharge your productivity with this Amazing Clipboard Tool!😲


New YouTuber: Easily set windows locations

I was watching YouTube the other day and stumbled upon this video from Inthekhud.  He did a pretty good job.  He walks through using WinGet to detect where a window is located and then how to set it’s location.  I hope he continues to make AutoHotkey videos.  The more the better!

STOP manually adjusting windows | Use AUTOHOTKEY!
STOP manually adjusting windows | Use AUTOHOTKEY!


**********************

📚 What we’re reading


🤖 AI / Chat GPT-3 News / Usage

HUGE Bard Update: The Future of Google is Now AI

HUGE Bard Update: The Future of Google is Now AI



⚡️Productivity tips: Setting Goals

Setting Daily, Weekly, Monthly and annual goals are a great way to make sure you achieve what you want.   Having said that, goals only take you so far, in the Atomic Habits book, he explains how habits are what truly drive action!


🤣 A spot of Humor This would freak me out!

Our Most Chaotic Prank Of ALL TIME | Just For Laughs Gags
Our Most Chaotic Prank Of ALL TIME | Just For Laughs Gags


Cartoon superhero mascot in green costume beside the bold text AHK Hero on a yellow background AHK Hero 🦸

Consider joining the 🦸AHK Hero club! Members receive 25% off courses, consultations, tutoring, done for you project work, etc.

They also have access to exclusive & pre-released content and a 3 hours a week where we help people with their AHK issues (the Saturday calls are geared towards people new to AutoHotkey.)


🗣️ 💭 Quotable quotes

  • How you deal with failure determines whether or not you ever get to deal with the success — Dan Kennedy
  • A major reason for procrastination and lack of motivation is vagueness, confusion, and fuzzy minded thinking about what you are trying to do and in what order and for what reason. — Brian Tracy
  • You must stop expecting perfection — either from yourself, or your employees, or your customers and clients. It will never happen. — John Carlton
  • History is just new people making old mistakes — Sigmund Freud

AHK Newsletter⏩SHARE WITH A FRIEND⏩

Do you know someone that would benefit from learning useful automation tips like the gems in today’s issue?  Take a second and forward this newsletter and bask in the glow of their undying gratitude.  Was this email forwarded to you?

Sign up for this Newsletter here.  We never share your email with anyone.  Ever!


The-Automator

Joe, Isaias, Irfan, and staff


P.S. Are you one of those people that don’t know what you don’t know?  One of the best ways to safeguard against this is to regularly meet amongst others that know more than you.  The AHK Hero group is a great place to learn from others and ensure you’re accurately assessing your skills.  Do yourself a favor and sign up.   The only thing you’ll regret is that you waited so long!