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

AutoHotkey News October 12th, 2023

AutoHotkey Newsletter

Howdy ,

Want to know how I know there is a GOD?

When I was 16 I got my driver’s license and was living in Ashland, OR.   One night a friend of mine Matt Swarts and I decided, for no real reason, to go drive up in the hills “getting sideways” around corners.   You have to realize was ~37 years ago (way before cell phones were even imagined.)

I had a bright orange (think Duke’s of Hazzard) 1970 Gremlin which had a very light back-end.

We drove a good 30 minutes up Tolman Creek Road heading towards Mt. Ashland.  Each turn was a blast sliding the backend around while we continued to go up in elevation listening to Judas Priest’s Screaming for Vengeance at full volume.

Finally, we got to a point where we decided we’d gone far enough and should turn around.

This is where things went downhill very fast (in more ways than one).

Even though I was 16 and “knew everything” I hadn’t anticipated how much easier it was go gain speed going downhill than going up and the very first turn I was going way, way too fast❗

I hit the brakes hard (way too hard) and started sliding to the edge.  Matt and I sat completely silent while we knew the inevitable was going to happen.

We were going off that cliff & would be lucky to survive!

Then, defying all physical laws known to man, we suddenly sped away from the side of the cliff shooting forward like a runaway freight train.

What happened next was even more telling.

Both Matt and I didn’t say one freaking word for a couple of minutes.  I just kept driving trying to process what just happened.

Finally I broke the silence saying “I so thought we were dead.”  Matt nodded in full agreement and said “there is no way we weren’t going off that cliff”.   We both felt so sure we decided to turn around and go back to the spot of our near doom.

What we found stunned us both❗

We literally saw our skid marks starting 20 feet from the edge and proceeded to go off the cliff.  Then, miraculously (and I don’t use this word loosely), we saw them re-appear 2 feet away from where they went off the cliff❗

To this day I get goosebumps when I think about it.  There is no logical reason we should be alive today yet here I am.

So why am I telling you this?

Our main goal at the-Automator is to spend a little more time up front to save time later.

Today’s newsletter is a reminder that “shit happens” and that even though I’m a huge believer in investing in yourself (like our AHK Courses) I also think you shouldn’t forget about today and give that extra hug to someone you love.  😊

Now on with the show…

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

ABL (Always Be Learning)

Dan Kennedy often suggests you don’t just study examples from within your industry.  You should be subscribing to others to get ideas you can adapt to yours (often beating the competition.)

A while back I bought a 35 hp tractor and, since then, have been watching a lot of YouTube videos on how to operate one.   Brad, from Piney Grove is a YouTuber I like sign’s off all of his videos with the following catch phrase: “Life’s short; Tractor hard”.  It took me a couple of times hearing it before I realized I should borrow the idea and come up with a catch phrase for our channel & business.

So, please click here to vote

Please Respond to the AutoHotkey Challenge

Speaking of tractors.   I recently released this video explaining my AHK challenge to a bunch of gurus, AHK Hero members and YOU!  This is another example that I thought up because of some tractor videos I was watching.  Often there are a lot of great ideas out there, the hard part is realizing how they apply to you!  In the video not only do I mention everyone that I’m challenging but I mention my top 5 scripts that are my reply to the challenge.

AHK Challenge 1 Favorite AHK scripts
AHK Challenge 1 Favorite AHK scripts


How to write text files with AutoHotkey

Have you ever wanted to write text to a file with AutoHotkey?  You should, as it’s a great skill to have!  In this video (extracted from Intro to AHK) we show you just how easy it is!  Don’t forget the Intro to AHK course is over 4 hours long!  You can learn more about the course here.

How to Read and Write to Text files with AHK v2 Extract from Intro to AHK
How to Read and Write to Text files with AHK v2 Extract from Intro to AHK


How to Write Your first AHK script

If you’re 100% new to AutoHotkey, you also might check out this video (also extracted from Intro to AHK) walking you through your very-first AutoHotkey script!  Isaias shows just how easy it is to program in AutoHotkey!

Beginners start here: Your FIRST AutoHotkey Script Extract from Intro to AHK v2
Beginners start here: Your FIRST AutoHotkey Script Extract from Intro to AHK v2


Using AutoHotkey w/o Installing it

It’s really cool that you don’t actually have to install AutoHotkey to use it.  In this video we show you how easy it is to run AutoHotkey scripts if you can get the AHK executable on your computer.  I don’t miss the days of working for Corporate America & having to beg/plead to get AutoHotkey so I could be more efficient at work!

Using AutoHotkey without installing it

Using AutoHotkey without installing it


📚 What we’re reading / Watching


🤖 AI / Chat GPT-3 News / Usage

Is AI the Solution to Your Mental Health❓
AI: The Solution to Your Mental Health?


⚡️Productivity tips: Alt + Enter: Breaking a line in Excel

To start a new line within a cell, or on a chart label, use Alt + Enter.


🤣 A spot of Humor:  It’s a Junior Mint

Kramer Drops A Junior Mint In Roy | The Junior Mint | Seinfeld


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’ll always think there is a better time; Start now! Joe Glines
  • If you are not ready today, you will be even less so tomorrow Ovid
  • The best time to plant a tree was 20 years ago. The second-best time is today! Chinese Proverb
  • Life is better when you start forgiving the people who never apologized. Zig Ziglar

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


The-Automator

Joe, Isaias, Irfan, and staff


P.S. The personal story I told at the beginning of this newsletter is 100% true.  I’m not a “religious” man but I just can’t rationally explain how we didn’t go off that cliff.   Remember to stop working and start living!

AutoHotkey Newsletter August 14th, 2023

AutoHotkey Newsletter

Howdy ,

Like most people that use AutoHotkey, my first uses of it were very simple things like HotStrings and Hotkeys.   I spent several years using AutoHotkey to just utilizing those until I decided to change job roles and moved into Information Technology.

The new job I was hired for  I was tasked to find a way to automate an incredibly mundane task (the job would turn over after ~1 year because it was ridiculously mundane, repetitive, and taxing.)

I began learning things like: Web Scraping, Web service APIs, Regular Expressions, simple GUI creation, Object Oriented Programming (OOP) and much more.  In this video I discuss some of the many cool uses of AutoHotkey.

Why you should learn AutoHotkey! Some most common uses of AutoHotkey

Why you should learn AutoHotkey! Some most common uses of AutoHotkey


It reminded me of this quick clip I saw in a Columbo episode.  Most people, when they first start with AutoHotkey, they are “Imitating a human“.  Probably because it just “makes sense” to us.

Are you using AutoHotkey wrong?
Are you using AutoHotkey wrong?

Most people don’t realized there are API (Application Program Interfaces) that allow them to “programmatically” control programs.  Imitating a human is (often) simple to code however it is not robust and fails a lot and doesn’t transfer to other systems.  You can get a deeper understanding of Human vs. API approach in this video.

APIs compared to Human Interfaces: How do you use AutoHotkey?
APIs compared to Human Interfaces: How do you use AutoHotkey?

In our AHK hero group we’re frequently helping people take their scripts that imitate human behaviors and adapt them to using an API approach.

Now on with the show…

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

Forcing an Expression in AHK v2

During this Automator team meeting Isaias was teaching Irfan and I how we can force an expression in v2.  It’s not “pretty” code, but it’ll ‘getter done’.  LOL

tatm:Forcing an Expression in AHK v2 to get around illegal chacter in JSON
tatm:Forcing an Expression in AHK v2 to get around illegal chacter in JSON


Using built-in AutoHotkey Functions

Unlike other languages, AutoHotkey has a LOT of built in functionality.  This video is an extract from Intro to AHK in v2.   Remember AutoHotkey functions are an AMAZING way to level-up your automation skills!

Using built-in Commands and Built in AHK v2
Using built-in Commands and Built in AHK v2


Me “Helping” AHK hero members 🤣

As many of you know, I’m not a programmer.  In fact, I love the fact that I’ve never gone down that path yet I’ve used AutoHotkey to do AMAZING things!

I’m smart enough to know hire very talented people like Isaias and Irfan to help solve the more complicated AHK Hero member’s problems.  This video a short excerpt from Galaxy Quest but it’s pretty close to how I feel on the Hero calls go.  If you’re not an AHK hero member, I highly recommend you consider joining.  Every week we have 3 hours of calls helping people with their tasks.  And we have a private Telegram group where people can get their problems solved during the week.  And you get 25% off our courses & client work!

Helping AHK Hero members
Helping AHK Hero members


📚 What we’re reading


🤖 AI / Chat GPT-3 News / Usage


⚡️Productivity tips:  Revisit current processes

Humans are horrible at re-thinking a problem.  Once we solve something we rarely re-think how it is being done.

Remember to review processes and look for ways to improve efficiency. Refining your workflows are great ways to save time and be more efficient!


🤣 A spot of Humor:  I forgot I created this page of AutoHotkey Jokes.    I’ve included a few below but be sure to check out the above page for more.

Q: What do you say to an AutoHotkey v1 user who wants to learn object-oriented programming?

A: Good luck with that!

Q: Why did the v1 user refuse to switch to v2?

A: Because they didn’t want to leave their comfort zone… which happened to be a time capsule.

Q: What do you call an AHK v1 script that uses GUIs?

A: A mess.

If you’re not using AHK v2 yet we have a great course to help you make the transition painless!


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

  • Whatever Your Mind Can Conceive and Believe, It Can Achieve. Napoleon Hill
  • Work harder on yourself than you do on your job Jim Rohn
  • When experiencing errors with tools, typically you should blame the operator, not the tool. Joe Glines
  • Today is always the most productive day of your week. Mark Hunter
  • A nickel ain’t worth a dime anymore Yogi Berra

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


The-Automator

Joe, Isaias, Irfan, and staff


P.S. The majority of AutoHotkey users start-off imitating a human but realize it is a lousy approach. Learning programmatic ways to automate software with AutoHotkey will save you time and build much more reliable, sharable, scripts.  We highly recommend you click here and purchase one of our courses and begin the path to victory!

Remember all of our courses come with a 200% money back guarantee so you have nothing to lose!

January 2023 Chat GPT Examples and Resources

;*********Chat GPT-3 usage & news 1/21 – 1/25*********************

AI Chat GPT 3 News & resources Jan 25th, 2023

AI Chat GPT 3 News & resources Jan 25th, 2023

  • Conversation between Bill Gates and Steve Jobs about AutoHotkey
  • Script to adjust Preview Handlers in Windows Registry
  • Icon selection from system32.dll
  • Wrote a letter to Admin of Community explaining I was quitting unless I got a discount
  • create your own images out of originals without copywriting
  • Krisp: Krisp’s AI removes background voices, noises, and echo from your calls, giving you peace of call (Works great!)
  • Beatoven: Create unique royalty-free music 
  • Cleanvoice: Automatically edit your podcast episodes and clean up the audio
  • Illustroke: Create killer vector images from prompts
  • Patterned: Generate the patterns you need for and designs
  • Stockimg: Generate perfect stock photos you need
  • CopyAI: AI Generated copy, that actually increases conversion (great tool!)
  • CopyMonkey: Create amazing Amazon listings in seconds
  • Ocoya: Create and schedule social media content 10 times faster than before  (Buffer HootSuite)
  • Vidyo: Make short-form videos from long-form content in no time
  • Maverick: Generate personalized videos at scale
  • Puzzle: Build an AI-powered knowledge base  / puzzles for your team and customers (gamify your work)
  • Otter: Capture, summarize, and share insights from your meetings
  • Eightify: Summarize video / meetings

 


;*********Chat GPT-3 usage & news 1/13 – 1/20*********************

Chat GPT 3 usage and examples 1/18/2023 (and some cool AHK Scripts)

Chat GPT 3 usage and examples 1/18/2023 (and some cool AHK Scripts)


  • I also enjoyed this video with Satya Nadella (Microsoft’s CEO).  He discussed many things about AI, how it will displace jobs (similarly to the Industrial revelution), The growth of AI is exponention (not linear) and how it really provides “leverage” for making us more productive.
  • Eightify will proivde bullet points to summarize videos (thanks AHK Hero Thomas)
  • Use Chat GPT-3 as a thesauras (help find the right word)
  • Create Elapsed Time AHK Function
  • Helped proivde ideas for the “batching” post & video
  • Had Chat GPT-3 create write code to bold selected word in Excel (just testing to see what it would provide)
  • Create list of Quick Access Popup benefits
  • Lumen5 – Create videos for social media
  • Replika– AI Companion
  • Quillbot– paraphrase your writing
  • AIPRM for SEO-  Help provide context to your prompts to get better info out of Chat GPT-3
  • Aiva – Emotional soundtrack music
  • AI.imageEnlarger – enlarge and manipulate images
  • KrispAI– background noise reduction / remover
  • List of AI Resources to search AI tools (Thanks  AHK Hero Ray)
  • ShareGPT– Share your ChatGPT conversations (thanks Ray)
  • ChatGPTSummary.ahk– AutoHotkey to share summaries of Chat GPT-3
  • AutoHotkey Prompt:  Provide context to Chat GPT-3 so you get better results

🤖 AI revolutionizes video: Goodbye static footage, hello dynamic magic! 🤯

🤖 AI revolutionizes video: Goodbye static footage, hello dynamic magic! 🤯


;*********Chat GPT-3 usage & news 1/08 – 1/12*********************

AI Chat GPT 3 Usage examples and Resources 2023/01/11

AI Chat GPT 3 Usage examples and Resources 2023/01/11


  • Seven bigest AI Stories of 2022
  • BHuman  Create custom videos
  • Browse AI – AI web scraping
  • D-ID – Speaking AVatars
  • Tome– Story telling / create a presentation
  • ComposeAI – Chrome extension to help you write
  • Heyday – will record your browser
  • Had Chat GPT-3 write spss syntax to use the If any command for flagging email addresses
  • 100 best Chat GPT-3 prompts
  • Best prompts / guides for AI
  • Asked it to create a tool that would convert CURL requests into AutoHotkey code using WinHTTPRequest/COM object
  • Asked it to standardize the case of all variables
  • Helped us track down sql query issues & realize our data in specific places had errors
  • Base64 encoding library giving odd error when converted to V2.
  • used to abbreviate words and replace undersscores in survey variable names
  • Boomy – create songs and music
  • Fake you– (fakes celebs /movies / etc. -text to speech)
  • Runway – video editing and can remove things from the vid
  • Flow CV–  create resumes very quickly
  • Designify – editing pictures and more
  • Renderforest– Craig’s high quality graphics and videos plus animated videos
  • Huemint –   Color schemes for brands / websites /etc.
  • Quick Draw!  AI will guess is what you’re drawing
  • Rytr – Quickly writing blog posts
  • InVideo Create videos from pictures and text
  • Steve.Ai  text to video
  • Super meme – create custom memes
  • Uberduck – Voice automation text to speech (famous voices etc.)
  • Cleanup. pictures  remove unwanted stuff easily
  • Deep Nostalgia – make animated pictures of parents/grand parents
  • Lalal.ai – Separate audio from track (or specific instruments, people talking etc.)
  • Google Docs and voice support

;***********Chat GPT-3 usage 1/01/23 to 1/07/23*******************

🔥Unleash the power of GPT with these 💻chat usage tips and resources! 🚀


🔥Unleash the power of GPT with these 💻chat usage tips and resources! 🚀


  • Generate AutoHotkey FAQ page
  • Writing a google schema from text
  • Optimizing Video and Article headlines  (Here is the hotstring i use: :o:head.::rewrite the following headline to be more click-bait and under 100 characters. include emojis whenever possible: “”{left 1} )
  • Create a list of potential database fields from a description
  • Insert a picture with COM in powerpoint
  • New Years eve AutoHotkey party ideas
  • SPSS find position of first @ sign
  • Convert an excel formula to power query syntax
  • Chat GPT-3 prompt book
  • List of 50+ clever prompts
  • Chat GPT-3 template for Complex RegEx
  • vscode extensions for chat-gpt
  • Chrome Extension to Advanced Chat GPT-3 is connected to the Internet

Videos

July 2022 🅰HK Newsletter

AutoHotkey Newsletter July 28th AutoHotkey newsletter

Howdy %Name%,

Has the non-stop barrage of bad news got that angst of anxiety bubbling up in your gut?

Are you worried about the economy, creditors swarming, job going south and everything else that can happen when the world goes crazy?  This cool trick can help you talk yourself off the ledge.

Write yourself a letter outlining all your troubles & your immediate plans. Be specific; just get it all out of your head (where it’s causing trouble) & onto the written page.

Then take a break. Hide the letter for 24 hours and let your unconscious work on solutions.  When anxiety kicks in, remind yourself that it’s all safely written down, so you don’t need to dwell. Your unconscious has a remarkable talent for organizing things and getting perspective on what’s important and what’s fluff.

Now on with the show…



AHKCon

Did you sign up for AHKCon?  Isaias and I are 😃getting excited for the event! Here’s an outline of times & people.  All times are EDT

  • 10:00am-10:15 – Intro (Joe/Thom)
  • 10:15am-11:00 – AHK v1 vs v2 (Panel: Dimitri Geerts, Isaias, Tank, Joe/Thom)
  • 11:00am-12:00 – Prog approach & Which & when (Panel: Maestrith, Tank, Isaias, Joe/Thom)
  • 12:00pm- 1:00 – Objects / COM / Data structure (Lecture: Isaias & GeekDude[helping])
  • 1:00pm- 1:30 – Lunch (Open discussion/ Q&A Joe/Thom)
  • 1:30pm- 2:30 – Regex/String Man.(Performance, simplicity, etc.) (Panel: Isaias, Maestrith, Joe/Thom)
  • 2:30pm- 3:00 – IDEs: Which to use, When, Why (Panel: Isaias, Maestrith, Jackie, Joe/Thom)
  • 3:00pm- 3:45 – Data storage approaches (Panel: Isaias, Maestrith, Jackie, Tank, Jean, Joe/Thom)
  • 3:45pm- 4:00 – Closing (Joe/Thom)
  • 4:00pm- 4:30 – Free open talk


AHKCon Outline and Signup


Have an editable DropDown list

Have you ever created a GUI and used a dropdown list but wanted to be able to type in it if the option you want isn’t available?  Hello ComboBox!   In this video Isaias shows us just how simple they are to create and, near the end, adapt a DropDownList to a combobox is easier than you can believe!  Just more proof that GUIs are Easy in AutoHotkey!

Massive improvement to dropdown list & using the Format command


Massive improvement to dropdown list & using the Format command


Connecting to the Correct instance of a COM Object

We were working on a project for Thomas, an AHK Hero, where we connect to MS Word.  Unfortunately we discovered a really weird problem that, sometimes, MS word would have multiple instances running and ComObjActive would return the wrong instance.  I mentioned to Isaias that, in my Excel Function library, I used the ACC library to loop over all instances of Excel and find the right one.   Isaias took a look at the example and generalized it so it could easily be used for other programs with a COM object.   This is just one of the reasons learning Objects is really helpful!

How to connect to the correct COM object in MS Office Programs


How to connect to the correct COM object in MS Office Programs


Looping over an Object in a For Loop

Another 🦸‍♀️hero wrote us with a problem they were having looping over an object in a For Loop.  We were looking at the code when I realized the problem. We thought we’d document it as it can be a bit confusing when you first start looping over objects.

Avoid this simple mistake when working with a For Loop


Avoid this simple mistake when working with a For Loop


Creating a class that automatically executes code?

Isaias realized, in AHK Version 2, there’s an interesting way you can build your code where you have an object that will get executed (without being called).   We also discussed how, conceptually, the idea of private and public methods can be compared to API calls.


How to Auto Execute Classes


Easily accessing properties from UIA

While the new UIA library is amazing, it is a bit complex!   In this video Isaias shows how you can access some properties and methods that might trip you up.  This came up because, during our free live call on Friday, someone wasn’t able to get the value of an href.


How to easily access properties from UIA


Live AutoHotkey Support Tomorrow

Don’t forget on Friday’s you can get free AutoHotkey support on my YouTube channel.  Or you can sign up for reminders and join the zoom room.


📚 What we’re reading / Watching


👨‍🏫 AutoHotkey GURU  Interview: Dr. Gabriel Cook

A long time ago I got one of my best friends into AutoHotkey.  In this interview I chat with Gabe about what he’s done with AutoHotkey, how it’s changed his life, and how much fun it is when we have our “code-cations” (we take a week off of work and get together learning something).

Examples of AutoHotkey |AutoHotkey Experts: Gabriel Cook


Examples of AutoHotkey |AutoHotkey Experts: Gabriel Cook


⚡️Productivity tips

Put it all down on paper.  I’m pretty sure it isn’t just that I’m “old school”.   Our brains work differently when we write things down.  Also organizing on paper is way different than on a computer.  I highly recommend writing your ideas, goals, etc. down and then let your subconscious work on them!  There’s the added benefit mentioned above how you’ll remove some of the stress trying to keep it all in your head.


🤣 A spot of Humor

How many of these 7 signs do you have? Hillarious video❗


Top 7 signs you're a Programmer.


Quick Access Popup news

I had a chat with Jean Lalonde the other day.  As y’all are painfully aware, if you compile a script and send it to someone it’s fairly likely it will get flagged as a virus.  One work around is to get a certificate and sign the executable.  Unfortunately this costs a significant amount of money.   Jean just spent $500 which will cover the next 3 years and is looking for donations to help recoup his costs.  So, if, like me, you’re a QAP enthusiast, you might consider making a donation.  I contributed $25 because I don’t want a world where QAP doesn’t exist.   What’s it worth to you?


Certifying executables  QAP


AHK Hero?

Want more time than the free hour? Have content that you can’t have on YouTube? Consider joining the 🦸️AHK Hero club! Members receive big discounts to courses, consultations, tutoring, done for you project work, etc.
They also have access to exclusive & pre-released content and a 2nd “office hours” session which isn’t on YouTube.  Pretty Soon they will have access to a members-only Telegram group where we can all help each other.


🗣️ 💭 Quotable quotes

  • Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time.Thomas Edison
  • What you plant now, you will harvest later — Og Mandino
  • Treat objections as requests for further information — Brian Tracy
  • It’s not how much you screw up that counts. Nope. It’s how you fix your messes that matters. — John Carlton


The-Automator

Joe and staff


P.S. Special thanks to the following for purchasing AHK hero membership
Rodrigo C., Nathan N., Michael C., Miral P., Thomas K., Rune O., Thomas D., Tyler F., Guy M., Dale W.,
Robert P., Gil C., Mathew F., and Ernestas G.

and for these people purchasing multiple Udemy courses
AutoHotkey Udemy courses this month!

  • 3 Victor S.
  • 2 Vytautas S.
  • 2 Scotty N.
  • 2 S. B
  • 2 Rhett Y.
  • 2 Leo O.
  • 2 Kenny N.
  • 2 Jordan
  • 2 Jalal i.
  • 2 Goh o.
  • 2 Estevan o.
  • 2 Edward s.
  • 2 Albert n.

July 21st AutoHotkey newsletter

Howdy %Name%,

When we are trying to turn a “no” into a “yes” we often try and approach it “logically” presenting a “strong argument”.  Sadly, more often than not, this doesn’t convince anyone of anything and just embeds people on their opposing point of view.   A much better approach is to avoid the conflict entirely and come in through the side door.

People are much, much more accepting if they believe it is “their” idea.  So start off by just agreeing with what they say.  Don’t argue, don’t put up a fight.  You can even compliment them on their idea.  Then, at a later point in time, come back to them and ask if you can make a small tweak to their idea.

In my experience It’s amazingly effective and so much more pleasant of an experience.  What’s really amazing is how much you can change the approach, yet people will still agree with it (partially because they believe it’s their idea but also because time has passed and they think “he was nice and agreed to me at first so I’ll let him have these changes.)  I learned this approach from the amazing book by David J Lieberman: Get Anyone to Do Anything (affiliate link).

Now on with the show…



AHKCon is approaching fast!

As I mentioned before the first AHK Convention is planned for Saturday August 6th from 10 EDT to 4:30 pm.  You can see what topics will be covered here.  Or sign-up for the event.


Properties & Methods in UIA

During last Friday’s live call we had a guest that was trying to get the text of an element that had a URL.  While UIA is amazing, it can be a little tricky so we made this video showing what you’ll have to do in order to get some properties or use some methods.  You can watch all of our UIA videos from this UIA YouTube playlist

How to easily access properties from UIA


How to easily access properties from UIA


Working with Objects in For Loop

Speaking of Friday calls… We had an AHK Hero reach out and ask for some troubleshooting when looping over an object with a For Loop.  This seemed like something that people new to objects would run into so we made a video walking through how to do it.   If you’re interested in learning more about the Loops, I cover 5 types in the Intermediate AHK course or, if you’re ready for a deeper-dive, Check out our Intermediate Objects course.  Both happen to be on sale at the moment!

Avoid this simple mistake when working with a For Loop


Avoid this simple mistake when working with a For Loop


Getting the correct Instance of COM objects

On a client project we ran into a little snag where, when we’d try and get the active MS Word object, it wouldn’t always return the correct one.  I told Isaias I think there was something in my XL Function library that we could learn from.  Sure enough, we were able to port the approach over and expand on it.  The new approach should be easy to update for most programs with a COM Object (we also created a V1 and V2 version)

How to connect to the correct COM object in MS Office Programs


How to connect to the correct COM object in MS Office Programs


Fast image search (on windows that are obscured)

Yesterday I was chatting with Shin from the Spawnova channel the other day.  It reminded me of the video we did about his amazing class that is crazy fast and finds images that don’t even have to be on-top!

👀How to perform Fast image search on Covered windows w/Spawnova


👀How to perform Fast image search on Covered windows w/Spawnova


Auto-Executing Classes in V2️⃣

Isaias is working a lot in AHK V2 these days.  In this video he walks through how to create an entire script that will be an object and run when launched.  We also discuss the general concept of private verse public methods.   Classes are amazing and incredibly helpful writing better organized code!  That’s one of the main reasons we created the Intermediate Objects course


How to Auto Execute Classes


Intro to Classes


📚 What we’re reading

⚡️Productivity tips

Never give up, never surrender (Galaxy Quest)


🤣 A spot of Humor

A friend of mine sent me this the other day.  Brilliant!


AHKHero

Want more time than the free hour? Have content that you can’t have on YouTube? Consider joining the 🦸️AHK Hero club! Members receive big discounts to courses, consultations, tutoring, done for you project work, etc.
They also have access to exclusive & pre-released content and a 2nd “office hours” session which isn’t on YouTube.


🗣️ 💭 Quotable quotes

  • Today is always the most productive day of your week. — Mark Hunter
  • What I lack in Skills & Abilities I make up for with Optimism & Determination
  • Not everyone likes you. — John Carlton
  • Nobody goes there anymore. It’s too crowded — Yogi Berra

Live AutoHotkey Support Tomorrow

Don’t forget on Friday’s you can get free AutoHotkey support on my YouTube channel.  Or you can sign up for reminders and join the zoom room.



The-Automator
Joe and staff

P.S. Special thanks to the following for purchasing AHK hero membership
Rodrigo C., Nathan N., Michael C., Miral P., Thomas K., Rune O., Thomas D., Tyler F., Guy M., Dale W.,
Robert P., Gil C., Mathew F., and Ernestas G.

and for these people purchasing multiple Udemy courses
AutoHotkey Udemy courses this month!

  • 3 Victor S.
  • 2 Vytautas S.
  • 2 Scotty N.
  • 2 Rhett Y.
  • 2 Leo O.
  • 2 Jordan
  • 2 Jalal I.
  • 2 Goh O.
  • 2 Estevan O.
  • 2 Edward S.
  • 2 Albert N.

July 14th AutoHotkey newsletter

Howdy %Name%,

Well summer has definitely hit here in Texas!  I was out working on a car in 104 degree weather 🔥 and felt like I was melting!  I bought a car that had been in an accident off a good friend (without actually seeing it).  It’s a 2010 Dodge charger with a 5.7 liter V8 Hemi engine.  It’s amazingly fun to drive (but not to fill with gas).

As I mentioned before, my son is 15 and will be driving soon so, at some point, I’d need to have another car so I can give him my current vehicle (a 2003 Toyota Echo).  I bought the Echo 15 years ago and it’s been an amazingly reliable car.  In all those years I’ve never washed it (other than strategically leaving it outside when I knew a hard rain was coming through).

Some people would probably be mortified to take a drive in it but I just don’t give crap!  All my life I’ve found ways to save 💲 without sacrificing quality.    When I worked in Corporate America and had to wear suits, I bought all of them from 2nd hand stores.  Even the tuxedo I got married in was bought for $10 at a Goodwill.   Many people would be embarrassed to mention this but not me.  I’m proud to!  You see, when I was ~14 I lived with my grandmother for a few years.  She lived through the “great depression” and I picked up some really good habits from her.  😊

It’s probably one of the reasons I’m so passionate about AutoHotkey!  It’s not “sexy”,  nor is it expensive however it can be super reliable which is what I really care about.   If your AutoHotkey scripts aren’t reliable then you might want to take a deeper look at how you’re using it.  Most people start using AutoHotkey by imitating human actions (like sending mouse clicks or key-strokes) rather than a programmatic approach (using COM, APIs, Controls, etc.)

If you’re wishing your automations were more reliable consider working through some of our courses or just schedule a consultation with us to point you in the right direction.

Now on with the show…



Amazing lessons on UI Automation with Descolada

It’s been an amazing week of discovery!  We’ve had some epic calls with Descolada out of Estonia.  He’s the author of the main updates to the UI Automation.

In this video Descolada teaches us about Patterns and other great tips for working with UIA & AHK

UI Automation patterns & Other GREAT tips for UIA [MUST WATCH❗]


UI Automation patterns & Other GREAT tips for UIA [MUST WATCH❗]


Here Descolada gives us some amazing insights if you’re trying to Automate a Chromium based App


Automating Chromium based tools with UI Automation: Descolada wows us again!


And this video he shows us how to do some basic web scraping with UIA


How to Automate Chrome with UIA


Easily use color highlighting to an Edit control

Last Friday Thom, from TABNation, mentioned he was building an IDE in AutoHotkey.  I told him about the call I had years ago with Maestrith and why, in AHK Studio, he used a Scintilla Control.   You might have seen this video where Isaias explains what a Scintilla Control is but I asked him to demonstrate how we can actually create and use one with AutoHotkey.  I’m really glad I did because I didn’t realize just how easy it is!😃

How to easily add color highlighting to an edit window with a Scintilla control


How to easily add color highlighting to an edit window with a Scintilla control


Creating responsive GUIs

I had a call with a client a while back that was stuck on creating a responsive GUI.  Isaias helped explain what is going on and the steps you need to take in order to build a GUI that is responsive in AHK.  If you’re new to GUIs, Isaias lead our GUIs are Easy course which is AMAZING!

How to easily Create a Responsive GUI


How to easily Create a Responsive GUI


📚 What we’re reading


👨‍🏫 AutoHotkey GURU  Interview: Jean Lalonde

Really fun to re-watch this video with Jean from 2018.  Jean’s lead several AHK Webinars for us and, in this video, we learn a bit more about him and his background with AutoHotkey & other tools.


Examples of AutoHotkey |AutoHotkey Experts: Jean Lalonde


⚡️Productivity tips

Having a routine is a very common pattern amongst top performers.  Busy people need to be very organized and structured.  For example Ellon Musk, Steve Jobs, and Bill Gates were all strong believers in having a routine and sticking to it.  Do you have one?


🤣 A spot of Humor

Can you imagine watching this?    Old woman disappears in lake & emerges young


Woman Disappears In Lake | Just For Laughs Gags


AHK Hero?

Are you enjoying our free YouTube channel?   You might not be aware but I don’t earn much from YouTube for people watching the videos.   On average I make around $130 a month for the ~1,300 videos we’ve made.  Considering I pay Isaias for his time, and I don’t get paid, creating videos isn’t something we do as a source of income.  It’s one of the reasons we created the AHK Hero program.  Joining allows you to make small contributions (currently $6 a month).  Of course, by joining the 🦸️AHK Hero club you do receive big discounts to courses, consultations, tutoring, done for you project work.  They also have access to exclusive & pre-released content and a 2nd “office hours” session which isn’t on YouTubeSign-up to help subsidize creating more quality content!


🗣️ 💭 Quotable quotes

  • Knowledge is power; Automation knowledge is a “super-power”💪 — Joe Glines
  • Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time. — Thomas Edison
  • Stop arguing. — John Carlton

Live AutoHotkey Support Tomorrow

Don’t forget on Friday’s you can get free AutoHotkey support on my YouTube channel.  Or you can sign up for reminders and join the zoom room.



The-Automator

Joe, Isaias, and staff

P.S. Special thanks to the following for purchasing AHK hero membership
Rodrigo C., Nathan N., Michael C., Miral P., Rune O., Thomas D., Tyler F., Guy M., Thomas K., Dale W.,
Robert R., Gil C., Mathew F., and Ernestas G.

and for these people purchasing multiple Udemy courses
AutoHotkey Udemy courses this month!

  • 2 Leo o.
  • 2 Jordan
  • 2 Estevan o.

July 7th, 2022 AutoHotkey Newsletter

Howdy %Name%,

My contractor, just like most, has very rigid policies, and I get annoyed every time I call. Every question gets a “No

“Can I get an estimate over the phone?” Nope. “Can I get a ballpark range?” Not a chance.

What I hate more is that they are right❗  Let me explain…

At first, this really irritated me. I mean, why are they stubborn about this?! Then I realized that it’s actually best for them and me.

You see, just like in automation, every job is different.   Some jobs are super-simple while others turn-out to be a royal pain.  If we simple took the “simplest” approach (let’s say sending keystrokes & mouse clicks) we could probably come up with an idea of how much it would cost to automate something however, as I’m sure you’re painfully aware, that would lead to tools that often break and are troublesome.

This, of course, would also give clients the general impression that either AutoHotkey sucks or worse (that we suck!)  This is why, when we do project work, we always take time diagnosing the best approach taking into account many factors such as:

  • Who will maintain the code
  • How many computers will it run on
  • Who will be running the code
  • Will a GUI facility / help the script?
  • How frequently the code is going to be used
  • What happens if/when it breaks
  • What technology is available (COM, Controls, DLL Calls, UI Automation, API, etc.)
  • Has someone else already automated the programs we’re working with (Search AHK forum, StackOverflow, Reddit, our libraries, etc.)

It’s a lot of the same considerations we do when we help clients with their code in a consultation where we are not the ones that will be doing the work, but someone wants to get expert advice as to what is the best approach to take.

If we, or contractors, were to take the approach of giving ballpark figures we would be:

  • making a wag (wide ass guess)
  • planning on taking a fast/cheap approach regardless of what should be done
  • padding the numbers to make sure it covers the costs of times where it is harder than expected

So cut your contractors (and us) some slack when you aren’t able to get an estimate without having a discussion of what actually needs to be done.  Chances are someone is trying to be sure to give you a realistic figure.

Now on with the show…



Avoid these mistakes with the LIB folder

We notice many people new to AutoHotkey often don’t fully understand how to reference the AutoHotkey Library folder.  In this video we walk through some of the key points to using it.   I love using the LIB folder and have a ton of functions in there so I don’t need to use the #Include directive.

Properly using AutoHotkey ❰LIB❱ (and where AHK searches)

Properly using AutoHotkey ❰LIB❱ (and where AHK searches)


Using a 🇯ava🇸cript API

One of our clients wanted to leverage his  Regular Expression written in JavaScript.  He’s using it on an MS Word document to examine text and automate hyperlinking known items.  Since it was code was quite complex we needed a more sophisticated way to access JavaScript. In this video we show how we’re accessing JavaScript from within AHK! Very cool😎

How to execute JavaScript within AutoHotkey V2

How to execute JavaScript within AutoHotkey V2


Just how much time do you waste?

I asked Isaias to create a simple GUI to help calculate how much time we waste.  GUIs are very helpful to show data to non-coders.  If you’re new to GUIs you might consider our amazing GUIs are Easy course.

How much do you waste? Creating a simple Waste Calculator

How much do you waste? Creating a simple Waste Calculator


Getting an ID for UI Automation

One would think that when you get an “Automation ID” for UI Automation it would be unique (like an ID on webpage) however sometimes it’s pretty clear that the ID isn’t unique.  In that case you need to do some investigating to determine how you’ll be able to, uniquely, Identify the element.   In this video we talk through some of the approaches and also discuss the two stages (Discovery & Implementation).  We’ve seen many people always using the discovery tools (even after finding their IDs) which greatly slows-down the process.  If you’re enjoying this series, please make sure you comment in the video as it’s our lead indicator as to what we should focus on.

How to find a Unique ID for your automation & speed up your code❗

How to find a Unique ID for your automation & speed up your code❗


AHK Hero?

Want more time than the free hour? Have content that you can’t have on YouTube? Consider joining the 🦸️AHK Hero club! Members receive big discounts to courses, consultations, tutoring, done for you project work, etc.
They also have access to exclusive & pre-released content and a 2nd “office hours” session which isn’t on YouTube.  With it on sale it’s $1.50 per week. 😲   The members have really enjoyed the calls so far.  Hope you consider joining


📚 What we’re reading


👨‍🏫 AutoHotkey GURU  Interview: Mason George

In this interview I chat with Mason out of Colorado.  Mason also lead our webinar on classes.  Amazingly Mason has been programming since he was 13!  I love talking to people that started programming early!  I think their brains get “wired” a little different than the rest of us…  😊

Examples of AutoHotkey |AutoHotkey Experts: Mason George

Examples of AutoHotkey |AutoHotkey Experts: Mason George


⚡️Productivity tip: Learn to say No

Saying no can be hard however it is one of the best ways to boost your productivity.  Reducing the amount of work on your “to-do” list is, by far, the way to truly gain huge amounts of time back into your day!  At one job I stopped doing a report (no, it wasn’t the “TPS report”) and gained a whole week back out of my month.   I had one client, out of ~50, ask what happened to the report and I just told her we found people weren’t using them.  Boom❗  25% more productive!


🤣 A spot of Humor

I’m at the age, and shape, that this is pretty accurate for me now…  Getting old sucks however it is better than the alternative!


🗣️ 💭 Quotable quotes

  • Whatever Your Mind Can Conceive and Believe, It Can Achieve. — Napoleon Hill
  • While one person hesitates because he feels inferior, the other is busy making mistakes and becoming superior. — Henry C. Link
  • You can observe a lot by just watching — Yogi Berra
  • Spending time with someone is more important than spending money on them. — John Carlton

Live AutoHotkey Support Tomorrow

Don’t forget on Friday’s you can get free AutoHotkey support on my YouTube channel.  Or you can sign up for reminders and join the zoom room.



The-Automator

Joe, Isaias, and staff

P.S. Special thanks to the following for purchasing AHK hero membership

Rodrigo C., Nathan N., Michael C., Miral P., Rune O., Thomas D., Tyler F., and Guy M. Thomas K. Dale W. Robert R.

and for these people purchaseing multiple Udemy courses
AutoHotkey Udemy courses this month!

  • 2 Jordan
  • 2 Estevan o.

P.P.S.  a customer reached out a while back.  He was in the Intermediate AutoHotkey course but weren’t sure if they were ready for the Intermediate Objects course.  I mentioned the Intermediate Objects course does cover basics of Objects but the Objects course goes way, way beyond that.  The dilemma was that the Objects course was on sale for ½ off but he wasn’t ready for it yet.  I told him not to “sweat it” and to go ahead and finish-up the Intermediate AHK course.  If/when he wanted to buy the Objects course I’d create a coupon to allow him to buy it at the sale price.   Well today he said he was ready to move forward so I created a coupon dropping the price from $99 to 💲49.   Since I was there I decided to create a few extra for y’all.   I saw he used the 1st coupon but there is 1 still available.  If you’re on the fence about buying it, now is a great time…   The coupon code is: “cd50PERCENT” and needs to be used during checkout.


Intro to Classes