AHK News 2025-11-27- Things I am Thankful For

AutoHotkey Newsletter

Howdy %Name%,

It is Thanksgiving here in the United States.

I’m very thankful that, in the grand scheme of things, I have much more to be thankful for than I have to complain about.

Thanksgiving is my favorite holiday as it is the least “commercialized” and mostly around spending time with Family & Friends.

My son and I are out in Las Vegas visiting my father.   It’s been a good visit but I miss my home and will miss the delicious meal that my wife will be preparing.  (Yes, I miss my wife too…  LOL)

I’m very thankful my son found a Jr. College program that he enjoys and is excelling at.

I’m very thankful my 85-year-old father is in good health?

I’m thankful for YOU!   Without you, the-Automator would not exist so 

THANK YOU!

How about you %Name%?

Do you have anything to be especially thankful for this year?

Now on with the show…

Learn how to Master VSCode Make the switch to v2 Intro to AutoHotkey Intermediate AutoHotkey Intermediate ObjectsGUIs are Easy w/AutoHotkey Access all our Courses; Quit when you want

sprinkling


RegEx101 vs. RegEx in AutoHotkey

Last week, during an AHK Hero call, Isaias reviewed the differences between using RegEx101 and using Regular Expressions in AutoHotkey.

It was a great session and you can check it out in this video extract.

AHK Regex versus RegEx101: What to watch out for ??
AHK Regex versus RegEx101:  What to watch out for


Creating a simple Fuzzy match

A YouTube subscriber asked for a tutorial on how to adapt a normal search and make it a “Fuzzy” search.

Irfan showed how simple it is to change your search to Ordered characters with a Regular Expression. Check it out in this video.

Changing Search to Fuzzy Match
Changing Search to Fuzzy Match


Don’t forget, we have an amazing Intro to RegEx course that comes with a double your money back guarantee!

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

Tracking Down a bug with Git Bisect

We had a weird bug in AHK Script Maker.   Isaias mentioned he’d like to use a cool feature from git to make it easier.  We walk through how to do it in this video.

Tracking down issues with git-Bisect : Great tips to save Time?
Tracking down issues with git-Bisect : Great tips to save Time?


Improving People’s Lives: Story #72

I spent some time yesterday with a client here in Las Vegas.

We walked through various uses of both AI and AutoHotkey (and how they fit together to make a “Batman and Robin” team!)


?? What we’re reading


?? AI News that you Need to Know


??Productivity tips:  

Control+Shift+L will apply Bulleted list to selected text in MS Word


?? A spot of Humor:  As God is my witness…

WKRP Turkey Drop
WKRP Turkey Drop


Clients say…

“My mind is blown” — Kelly Coughlin


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.    Currently we have over 493 hours of recordings teaching AutoHotkey that is exclusive to AHK Hero members?

You can watch 1 hour a day for a year and not repeat content! That’s a lot of AHK Learning!

During this Friday’s call we’re planning to discuss:

  • Help AHK Hero Members with their Questions & Code
  • AHK Script Maker: Creating/managing Tabs
  • Adding Popular Programs to our v2 AHKHotkeyString tool
  • Comparing Cloned objects versus Copied Objects / Strings
  • Z-order of Windows tool from Claude Sonnet 4.5
  • Creating a Hash versus Encoding
  • 5 Git commandsthat feel like Magic
  • Using a Ternary to easily apply changes based on logic (instead of using an “if”)
  • Comparing strings, case sensitivity, how to handle when in map, etc.
  • Using SendTo for passing multiple files to a script

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


Quotable quotes

  • Never give up, never surrender, and always go for the win. — Charlie Kirk
  • Poverty is a state of mind not the state of your wallet — Joe Glines
  • Knowledge is power; Automation knowledge is a super-power?? — Joe Glines

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. Thank you for being a loyal reader / subscriber!

 

Windows Management Instrumentation (WMI) is an amazing v1 AutoHotkey library

The Windows Management Instrumentation (WMI) is the instrumentation and plumbing through which nearly all Windows resources can be accessed, configured, managed, and monitored.  This group of ahk v1 functions makes it easy to “rip” information out of your Windows configuration.

Windows Management Instrumentation (WMI) and AutoHotkey

Windows Management Instrumentation (WMI) and AutoHotkey


WMI Scripting Primer- The Scripting Guys

  • Part 1 How to use the WMI scripting library to create Windows system administration scripts
  • Part 2 Common Information Model repository and CIM classes to help you tap the full power of WMI scripting
  • Part 3 Defines the WMI scripting library. Shows how to use it to access and manage  resources

WMI architecture diagram: WMI Consumer script connects to WMI Scripting Library, CIM Object Manager, CIM Repository, WMI Provider, and the Managed

AutoHotkey forum posts on WMI

Additional Resources

Transcript to Video on WMI

hey it’s Joe Glines from the-Automator and today we’re going to talk about the Windows management instrumentation that’s a mouthful so I’m going to say wmi so much easier anyway it’s a really really powerfulcode that you can access via a comma object the com object getand let me read it right from here says the windows info system is the plumbing through which nearly all windows resources can be accessed configured managed and monitored right like that sounds pretty impressive um
let me show you the page that I had created for us toto with some great resources for this and then we’ll go into some of the example scriptshere you can download there’s 34 different scripts I have all together zipped together for you I’ll show a couple but because they peek inside your computer and reveal a lot of really juicy information I’m not going to run them all here because I don’t want to give him that stuff outthis this wmi scripting primerthere’s three different parts really
great information broken out they explain a lot of the stuff on this the cim common information model and stuff of what you’re doing and how to access the stuff I highly recommend you check those out if you’re interested in actually getting the guts now of course just like most things you don’t actually have to go read all this stuff you can just use the scripts right but if you want to understand because of the what’s presented here it’s just a fraction of what’s available right so just let you know it’s out therethere are I found
these three different posts in the Forum and there’s a lot of overlap in the content of them but these are actually people on The Forum who have posted AutoHotkey scripts a lot of which I I borrowed and put in the links here are in this download and then here were some other resources that I had found again just lots of really amazing stuff about the wmi and how you can be used so let’s go ahead and get into some of the codeso here like I said here are all different scripts let’s say if I wanted
to see what anti-spywarethe status of my anti-spiner so I’m going to drop it into here just so we can take a peek at a couple of them right what basically you use the com object get to Ping and you’re going to look for a certain thing right I’m like here it’s this anti-spyware product and that is going to have a lot ofyou know values that it can pull out now the thing is you have to know what these are and that’s that’s where it’s like wow it’s it’s a lot of information and I don’t even know if the person to put this script
together got all the information that’s inside this you know piece ofthisvalue soyou’re gonna have to do some homework here but let’s go ahead and run it and this just displays a message box showing you oh Windows Defender I think actually is this the if they spy with no spyware I think was just Windows Defender it shows you what’s going onthe antivirus one remember correctly and let’s just go ahead and run that one that shows Windows Defender and because I have Malwarebytes running also so it
shows both of those it’s iterating over themthe architecture that wasn’t too interesting let’s do a CPU I’m going to run that and here now I have some of these will dump into a text file that’s why I have site up here so here you can see the different information I have a threadripper ryzen threadripper from AMD but it shows you the information about it like I said you can get you know the ram you can get a ton so let’s just take a look here there’s a ton of information
that it peeks in there when you like the drives goes over your hard drives and this is a real short oneI have two there’s that one and this one this one goes a much deeper level of the hard drives and what’s available on their installed audio codecs like I don’t know why you’d want to know that list of installed programs right and solid fonts both of those took take a while to run because it’s a lot of information but it goes rips them out for you the user account system accounts memory your motherboard like it’s crazy the amount
of information is in here let’s go ahead and look at let’s look at let’s look at let me run Mouseat least there’s nothing secrethere it pulls back this information let’s look at the script I’ll say edit edit and here we can see you know how it’s again it’s iterating over the thingthis root simv2 whatever well it is and pulling out informationnow here we’re enumerating over each each item and getting themand dumps oh this is the while object so yeah it’s giving them and it dumps it
into here and someone just says Hey when it says resolution put the-Automator.com wmi it’ll
bring upthis main page up wherever it wentthis page andand from there you can get the download or you can get all the resources like I said it’s it’s we could we could do a couple webinars I think on this topic alone it’s a lot of information therebut it’s another great thing AutoHotkey this makes it so easy right so cheers

Easily create a GIST with your GitHub account with this Amazing v2 AutoHotkey script

create a GIST with your GitHub accountEasily create a GIST with your GitHub account using this v2 AutoHotkey script

Publishing your code into places like: Facebook, YouTube, or even WordPress can be a pain!   For years I struggled with WordPress breaking my scripts even though they were tagged to leave them alone.

I finally had enough of WordPress breaking my scripts and asked Maestrith (the other of AHK Studio) to help borrow from the code built into AHK Studio that pushes via an API call to GitHub.   We came up with this ahk v2 code which makes it really easy to post your code in an HTML document or just link to a page that will render properly (and show Intellisense). You’ll need to swap out the endpoint (GitName) and your secret Token to get it to work, otherwise it will be a breeze!  You can read more about GISTs here