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

AutoHotkey News December, 14, 2024


Dan Kennedy, a legend in direct marketing, has long advocated for the nimbleness and focus of small businesses over the cumbersome nature of large corporations. His experiences reveal a striking truth: smaller companies can swiftly implement clear, profit-driven goals, a feat often unattainable by their larger counterparts.

At the-Automator, we resonate with Kennedy’s philosophy. Large companies, with their intricate hierarchies and conflicting internal goals, tend to lose the essence of effective marketing strategies in a tangle of bureaucracy. In contrast, small businesses exhibit an admirable agility. They can quickly adapt and embrace direct marketing strategies, leading to immediate and impactful results.

Having worked at large companies for nearly 20 years, I love the fluidness & dynamics of how small business can make decisions and act on things without scheduling meeting after meeting.

Hence, at the-Automator, we too prefer collaborating with smaller companies. We believe in the power of direct, actionable strategies that small businesses can implement effectively. This approach not only ensures our work has a tangible impact but also aligns with our mission to empower businesses where every strategic move counts.

If you’re a small business owner, feel free to reach out to use to understand how you can automate tasks to get more done!  You can reach me directly at Joe@the-Automator.com.

Now on with the show…

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

How to use GitHub’s Copilot

If you’re spending time coding, and using VS code, stop what you’re doing and watch this video!  Copilot is a GAME CHANGER!  Our clients are noticing the difference in how much we get done during a session mainly because CoPilot is doing a LOT of our work for us!  In this video Isaias shows Irfan how to configure CoPilot in VS code and some of it’s main benefits.

🤖How to Configure VS Code to use Use Copilot from github
🤖How to Configure VS Code to use Use Copilot from github

Easily send Long Text, Images, or Hyperlinks with Clipster

It’s a bummer that, with built in Hotkeys or HotStrings, it isn’t easy to send a large amount of text, Pictures,  or a “pretty” hyperlink but, with Clipster, it is very easy to do!

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

Add a MouseOver to a GUI

GUIs are amazing (especially in v2). During this team meeting Isaias showed how easy it is to add a mouse-over to a GUI. If you’d like to learn more about creating GUIs, check out our GUIs are Easier course!  Don’t forget, all of our courses come with a 200% money back Guarantee!

Adding a tooltip-MouseOver to a control in a GUI :tatm
Adding a tooltip-MouseOver to a control in a GUI :tatm

Intro to Xpath 

Irfan was doing some work on Abberium (the 19th way we can automate programs with AutoHotkey) but didn’t have a lot of experience working with Xpath so Isaias gave him a tutorial which you can see here.  It reminded me when Maestrith gave me a tutorial using his Xpath class.  While his class is v1, he did a great job teaching me the power of Xpath!

💡 Essential XPath Skills in AutoHotkey – Unleash Your Potential!
💡 Essential XPath Skills in AutoHotkey – Unleash Your Potential!

What we Automated this week #26

I almost didn’t record this video but, when I ran our script to see how many AutoHotkey files we’d worked on I was surprised to see 287 files…   A big part of this was because we scraped all the v2 example files from the AHK Documentation during an AHK hero call but we did have quite a busy week.  BTW- we’re working on scraping the v1 examples as well and make them a download.

What we Automated with AutoHotkey this week #26
What we Automated with AutoHotkey this week 26

Driving Behaviors with Behavioral Science

A client & good friend of ours (AJ Wilcox) had a great interview with Nancy Harhut (a behavioral scientist) and had some great points.   If you’re trying to get people to take action, this video is a “must watch”.  I’m currently reading Nancy’s book: Using Behavioral Science in Marketing which has lot’s of great gems to adopt for marketing your business / products / services.

BTW- AJ’s company, B2Linked, is top-notch working with LinkedIn advertising!

Nancy Harhut Behavioral Science Approach to LinkedIn Ads
Nancy Harhut Behavioral Science Approach to LinkedIn Ads | The LinkedIn Ads Show

📚 What we’re reading / Listening to

🤖 AI / Chat GPT-3 News / Usage

⚡️Productivity tips: Pausing Videos in YouTube

If you’re using your computer to watch videos in YouTube, hitting the letter “k” will toggle playing/pausing the video playing

🤣 A spot of Humor

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

  • Whether you think you can, or you think you can’t; you’re usually rightHenry Ford
  • Recognizing a problem is half the success in solving it Sigmund Freud
  • Winners are NOT those who never fail but those who never quit


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. If you own / work for a small business and are ready to level-up your usage of AutoHotkey, please reach out to us to discuss how it can help you work smarter, not harder.


AutoHotkey Webinar- Intro to API calls with AutoHotkey

In this AutoHotkey Webinar we cover an Intro to API calls with AutoHotkey.

Video Hour 1: High-level:

  • What is a Webservice API call
  • Web Scraping vs. WebServices / API
  • List of some “fun” WebService / APIs as well as links to resources to tens-of-thousands!
  • Differences between a Get vs. Post request
  • High-level look at oAuth1 vs. oAuth2
  • Resources
    • HTTP: Intro to HyperText Protocol, Types of Requests, oAuth, Parsing XML, XPath, JSON
    • AutoHotkey resource: Syntax writer, winHTTPrequest, Msxml2 vs. WinHTTPrequest, Parsing XML & JSON
  • Basic examples of API requests (compared using browser and winHTTP request)

Video Hour 2: Coding and Q&A

  • Played with several APIs
  • Discussed & demonstrated reverse-engineering API calls from a website
  • Passing key-value pairs (and using a function to keep it organized)
  • Reviewed additional APIs
  • Q&A

If you’re new to API calls, be sure to get our API Syntax Writer

Or use one of our Fiddler Rippers

Script Highlight: Select text and “pretty” hyperlink text

The below script demonstrates how you can use AHK to automate highlighting text on a page and then, using the winClip library, constructing a “pretty” html link.  Here are links to the GetActiveBrowserURL and WinClipAPI / WinClip

Intro to API calls with AutoHotkey

What is a Webservice API? (Application Programming Interface?)

API calls with AutoHotkey

Examples of Webservice / API calls with AutoHotkey

  • Application / Software querying products for sale on Amazon.com
  • App on your phone getting latest Weather
  • Database pulling updated sales report
  • Using your Tablet to Select movies to watch on Netflix
  • DropBox application syncing files between your computer & cloud
  • Google places search

APIs are becoming increasingly available!

…Since 2005, we’ve seen APIs grow from a curiosity, to a trend, and now to the point where APIs are core to many businesses. APIs have provided tremendous value to countless organizations and developers, which is reflected in their continued growth.   Source: Programmable Web

API calls with AutoHotkey



Main Differences between WebService / API call & Web Browser

API calls with AutoHotkey

When to use API verse Web Scraping?

API calls with AutoHotkey

Some Webservices / APIs

Some of the Amazing APIs out there…

Programmable Web – list of thousands of APIs as well as a great, six-part, article reviewing APIs

Short-list of APIs open to public on Wikipedia,   Google APIs– Over 100 APIs @ Google; Yahoo APIs

Social Sites : Twitter, Pinterest, Google+, YouTube, Facebook, LinkedIn, reddit, StumbleUpon, WordPress, Instagram

Contact / Business Lookup: ClearBit, Pipl, FullContact, Dunn & Bradstreet , Foursquare, Google Places, Yelp, GeoNames

Weather: Weather Underground, Yahoo Weather, World Air

Finance: Google Finance, Yahoo Finance, PayPal, Stripe, XigniteRealTime, Ally Invest

Government: A bunch of Government APIs, Cloud.Gov, US Census, 18F.gsa.gov

Additional: Wikipedia, Amazon Product, email to text, SmartSheet,SurveyGizmo, Bitly, SnapOCR, PasteBin, DropBox, Zoho, Zillow, imugr, Mailgun, MailChimp,  Microsoft: Graph, MS Office: Excel  Word  SharePoint  OneNote Outlook Yammer PowerPoint

Break-down of a REST API request via COM object

  • Create COM object
  • Open Endpoint (w/ parameters & Authentication if GET request)
  • Set RequestHeader(s)
  • Send (w/”payload & Authentication” for POST requests)
  • Get response (body or text)

Main differences of oAuth1 verse oAuth2

Unfortunately there is no “standard” implementation of oAuth1 or oAuth2 however, at a high-level, here are some of the main conceptual differences:


  • Need a Key & Token from Webservice API (typically different than your username and password)
  • You use your Key & Token in your API call
  • oAuth1 is less secure and, generally, being phased out
  • While being phased out often the “developers” (us) can use oAuth1 for development of the “app”


  • Need a Key and Token (same as oAuth1) however you use the Key & Token and some other parameters to perform a “handshake” which returns a secure token which typically times-out in seconds / minutes/hours
  • Your token is restricted to the level of your account (or what has been authorized)
  • The secure token is what is shared with your actual endpoint. (this allows other Social sites (like LinkedIn, Facebook, etc.) to assist your login but not have your username/password to the endpoint

HTTP and AutoHotkey Resources

HTTP Protocol & General Tutorials

AutoHotkey specific

Let’s make some API calls with AutoHotkey!

Weather Underground

  1. Dallas forecast in XML
  2. Dallas forecast in JSON
  3. Using WinHttpRequest
  4. Example with browser

Yahoo business

  1. Pizza restaurants in zip code 75019 in XML
  2. Pizza restaurants in zip code 75019 in JSON
  3. Using WinHTTPRequest


XML Parsing is super easy with this AutoHotkey class

XML ParsingI’ve been using APIs for several years however I was never great at parsing the returned data.  In the below video maestrith, author of AHK Studio, walked me through using the XML class he wrote for parsing XML.  It leverages using XPath and is a life saver!

Here is the video where he walks me through using it

And this is the file we reviewed when doing the XML parsing