• Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Painlessly switch from V1 to V2

November 8th, 2023 AutoHotkey Newsletter

AutoHotkey Newsletter


A couple of weeks ago my son Jon and I were headed back from dinner at a local restaurant (I like supporting local mom-and-pop shops).  Like many teens these days my son had his earbuds in while he was watching this John Cena video on TikTok.

We were getting back in my car🚗and starting it up when, to his demise, his phone switched from his earbuds to the Bluetooth in the car stereo.

At this point I should also mention the stereo was up really loud because we were driving on a rough highway that is as loud as a dumpster full of silverware being emptied into a blender set to ‘puree’with its lid off! (and, no, I’m not exaggerating)

So what were the first things we hear screaming loud?

If you guessed:  “Can I say Anus”  you’re 💯% correct! 🤣

Technology can really put you in a precarious position.   A couple of times I’ve had a goof when automating SMS text messages to friends as well as, accidentally, triggering a HotString.

As Stan Lee once wrote in Spider Man “With great power comes great responsibility”.   I’d like to add “With Automation power, remember: test thrice, deploy once, or brace for a code-tastrophe!”

It’s one of the reasons why people have us do work for them.   Since we work with AutoHotkey 24-7 we know how to build robust tools that they can count on.

Book a session with us and sleep better tonight❗

Now on with the show…

Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Make the switch to v2

Happy Birthday AutoHotkey 🎂

Tomorrow, November 10th, is the 20 year anniversary of AutoHotkey!   To celebrate Chris Mallet’s Chris Mallett’s vision we’re having a 40% discount.
For the next 20 days you can use “AHK20years” during checkout or go here and click one of the following links and it will, automatically, be applied.

The Future is Here: Copilot is Amazingly helpful❗

The other day Isaias gave us a demo of using CoPilot.  It was amazingly helpful (even without knowing AutoHotkey V2).   Paying for CoPilot is a “no Brainer” as we’ll be incredibly more productive for our clients.

🚀Is This the Coding Revolution? Copilot’s Here & It’s Epic! 🔥
🚀Is This the Coding Revolution? Copilot's Here & It's Epic! 🔥

What we Automated with 🅰HK this week!

Sunday I recorded this video documenting what we automated with AutoHotkey.  This week we had a bit fewer files however, after recording the video, I realized our major project isn’t even being included because it’s all done on our client’s computer.  Most days Isaias and I are in zoom with the client between 2-3 hours in the afternoon.   We’re building an amazing tool for our client (unfortunately it’s privileged so we can’t share).

What we Automated with AutoHotkey 21
What we Automated with AutoHotkey 21

Sometimes you have to think outside the 📦

Irfan was updating my Media Player (a script I’ve probably used everyday for the past 15 years).  He was converting it to AHK V2 and, to get some extra benefits, using the Windows Media COM object.  (If you’re new to COM Objects, you really should check out our Objects course.)

Anyway, I realized Irfan “corrected” a line of code I had in my version.  I got him and Isaias in Zoom and explained my crazy reason for what I did.  It goes against any rational thought yet it is a great, simple, solution.  Check out the video and see if you can guess why I did something so whacky!

Crazy Programming solves the day for Media Player
Crazy Programming solves the day for Media Player

🐁 Easily Getting Text Under your Mouse

Are you working in a program that you want to grab the text but can’t select it❓   While our Window Snipping tool has built-in OCR, often you can programmatically get it as I demonstrate in this video.

🖱️ Get the scoop on the text under your mouse with AutoHotkey : Works in most Windows programs❗️

🖱️ Get the scoop on the text under your mouse with AutoHotkey : Works in most Windows programs❗️

Sharing your AutoHotkey Programs: Getting them in the Microsoft Windows Store

Last week we had a call with Jean Lalonde (author of Quick Access Popup) and Maciej Słojewski.

Maciej lead this webinar a few years back.   In hour one he showed us amazing HotStrings and the second hour he showed what he’s done with AHK and tablets (using them as secondary keyboards).  If you’ve ever felt like you were running out of Hotkeys, you might check that out.

Anyway, our call last week was discussing getting programs in the Microsoft Store!  We have a lot more work to do however it was a really good call and great catching up with both these AHK experts!

AutoHotkey Webinar 10/2020 Hour 1-Cool & Advanced HotStrings script
AutoHotkey Webinar 10/2020 Hour 1-Cool & Advanced HotStrings script

AutoHotkey Webinar 10/2020 Hour 2-External Keyboards & Touchpads
AutoHotkey Webinar 10/2020 Hour 2-External Keyboards & Touchpads

📚 What we’re reading

The Google Messages for Web article above lead us to this discussion regarding automating messages with Android Phones and API calls.

Sending new Android messages thru browser and Android phone
Sending new Android messages thru browser and Android phone

🤖 AI / Chat GPT-3 News / Usage

⚡️Productivity tips: Redo / Control + Y

Most people barely touch the capability of using the “redo” button.

For instance, imagine you’re wanting to change the font size, Color, and alignment of several text objects in MS Word. If you select text, hit Control+D (to bring up the Font window) and make all the changes, then you could select other words and hitting Control+Y would apply all the changes you made the first time!

🤣 A spot of Humor  By far my favorite clip from Taxi🚕

What does a yellow light mean?
What does a yellow light mean?

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

  • You do not rise to the level of your goals; you fall to the level of your systems James Cleary
  • If you want something done, ask the busiest person you know to do it and stand back!
  • What you plant now, you will harvest later Og Mandino
  • You wouldn’t have won if we’d beaten you Yogi Berra


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 hereWe never share your email with anyone.  Ever!


Joe, Isaias, Irfan, and staff

P.S. My intro may have caught your attention but it’s a true concern when working with 🅰utomation.  Our clients take comfort knowing we build robust tools they can count on.

Every client is amazed at how much we get done on a given session.   Give us a try by booking a Consultation and I guarantee you’ll be blown away!

AutoHotkey Webinar- Intro to Neural Networks

Video Hour 1:  High Level: Intro to Neural Networks

Our guest presenter, Giordanno (Gio) Sperotto did an amazing job covering an intro to Neural Networks.

  1. Present some current uses for neural networks (examples to light up curiosity in the subject)
  2. Introduction to the algorithms (Using a simple excel sheet and Paint.NET file, the aim is to provide an overview of a very (VERY) simplified step-by-step process)
  3. Discuss the example in the tutorial (going through the problem and the .ahk code)
  4. Discuss AutoHotkey as a possible tool and also some other possible tools (Python, TensorFlow, etc)
  5. Brief Talk about some existing online courses and content (Udacity, Udemy, Youtube Channels, etc)
  6. Brief Talk about Jobs and entrepreneurial opportunities
  7. Discuss other advanced concepts (Bias, Activation Functions, Learning Rate, Cost-Function, Multiple Layers, BackPropagation, Convolutional NN, Recursive NN, Supervised and Unsupervised Learning, etc)

Video Hour 2: Coding and Q&A

Script Highlight: EntryForm() by Coco


Easy / quick way to create GUIs to capture user input with AutoHotkey.  Data captured is dumped into an AHK object.

Here is a link to EntryForm Example and script demonstrated during the webinar.





Resources for Neural Networks

AutoHotkey Forum post-



How to Personalize SciTE Intellisense | Speed-up your AutoHotkey coding with this amazing SciTE hack

Personalize SciTE IntellisenseIn this post I leverage two different scripts where I demonstrate how to personalize SciTE Intellisense / Autocorrect.   Both are great ways Personalize SciTE Intellisense to increase your productivity while coding!

Personalize SciTE Intellisense  by Adding Functions, Labels and variables

This script can be used to point to specific files/folders and grab labels, functions, etc. and pull them into your Intellisense for you.   This script will generate a “user.ahk.api” file in your default SciTE library and only needs to be run periodically (when you have new functions/labels you want to include).

  • Save BuildUserAhkApi.ahk to a location on your computer (if you save it in your local \lib\folder you will not need to #include it!)
  • From a separate file, call the function and tell it what file(s) /directory you want it to review and what you want it to include (functions and/or labels).  You can also decide to be recursive or not.   I had it import all of my functions from my standard AutoHotkey\lib\ folder but did not include my labels (as they’re really only relevant for an active script).
  • Here is the function and parameters (the last one should not be used):  BuildUserAhkApi(AhkScriptPath, [OverwriteAhkApi, RecurseIncludes, Labels, WrapWidth, AhkApiPath, RecursionCall])
  • Here is how I called mine (note you’ll need to dupate the destination path:
BuildUserAhkApi("B:\Progs\AutoHotkey_L\Lib\", 0, 0, 0, 265, "C:\Scite_Install\SciTE_Custom\user.ahk.api")

Video walk through how to Personalize SciTE Intellisense :

Adding Functions, Labels, Variables from your current file to your SciTE Intellisense / Autocorrect

In this second example I demonstrate how you can have variables, labels, functions in your current script populate the SciTE Intellisense / Autocorrect.  If you’re like me, you’ll LOVE this functionality because it will help prompt you of the variables, functions, labels you have in the current saved script.  This can drastically increase your productivity!

  • Save AutoComplete.lua to SciTE default directory  ;(See attached or download here)
  • Save UserLuaScript.lua to SciTE default directory (append if you have something there already –I had this file but it does not show up under Option)
  • I’m beta testing this but right now it looks like it works fine-  I added one line @ row 282 to my version . This tells SciTE to update all the time (not waiting for the document to be saved).  So far it seems to work fine but I’m going to give it a bit before recommending…
local events = {
    OnChar          = handleChar,
    OnKey           = handleKey,
    OnSave          = buildNames,
    OnUpdateUI      = buildNames, --I added this line @ line 282 
    OnSwitchFile    = function()


SPSS Macro is just a String Parser, this video goes over some basic usage

SPSS macro

Even in its simplest form, SPSS macros can save you an amazing amount of time by allowing you to quickly & easily swap-out one text for another. The text can be the name of a variable, the title, the statistical test to be run, etc. This can save an amazing amount of time if used properly.

In the below video gives a good demonstration of how easy it is to utilize them.

SPSS Macro is just a String Parser