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

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

2022 April AutoHotkey Newsletter

AutoHotkey Newsletter

April 14th AutoHotkey Newsletter

 

Howdy %Name%,

Last week, I talked about how important it is to consider your audience when you’re “selling” AutoHotkey/ your services.   This really applies to anytime you’re trying to convince someone of anything but let’s keep the focus on AutoHotkey.

Here’s a little slap of reality: Until you learn how to sell, you’re not going to enjoy the kind of success you’re entitled to.  You may want to fight this but I’m telling you, learning how to “sell” (sway others to your perspective) you’re always going to be fighting a battle.

First realize-it’s NOT YOUR FAULT. Don’t blame yourself for lacking the skill to know how to sell to your clients. Sadly we never focus on this type of thing in schools / college.  And you may even be offended that I’m discussing “sales” with you…a professional.  But the sad truth is it really isn’t the “best mouse trap” that wins.  It’s the “best mouse trap” in the mind of the prospect. 

Thinking of yourself as a “salesperson” might shock you. You’re probably thinking, “But Joe, I’m not a salesperson. I’m a professional. I help people, and I don’t need to sell.”

Let me gently but firmly tell you that you’re mistaken. And it wasn’t until I figured this out that I began “winning” with clients.

There’s nothing like the satisfaction of sitting down with someone and communicating with them on such a deep level that, by the time you’re finished, they’re thanking you profusely and want to hug you for helping them.

If you’re new to this mentality here are a few solid books that I refer back to over and over:

Now on with the show…

Monitoring programs Free tool from Microsoft 😎

I was annoyed with how my icons resort each other and asked Isaias if he had any ideas how Windows is keeping track of the order.  He suggested we use Microsoft’s Process Monitor which is a free tool included in system Internals suite.  Check out our video which helps show how to use it.


How to use Microsoft's Process Monitor know what a program is doing


Getting help from the-Automator (and other sources)

I’m so stoked that my AutoHotkey channel is getting more and more subscribers (it’s a bitter-sweet feeling that I passed Hellbent in the number of subscribers however I’ve bugged him about getting back to making more!)  Anyway I’m getting more and more requests to help people but I just don’t have the bandwidth to help everyone (besides, I do need to earn 💲).

That’s one reason we have our 1.5 hours of free help every Friday.  If you can’t attend, you can submit your question here and then watch it later on my channel.  If you want a reminder for the meeting you can sign up here.  If you do use a free source from Reddit, ahk forum, Discord, etc. please keep in mind the risks with getting free help.

We do offer consulting services. Quick questions, where we review your code/issue and point you in the right direction or edit your code are billed by the hour.

We do have free consultations when you have larger projects, where you want us to develop the code for you. In either case, you can go here and let us know what you’re looking for help on. And, of course, we always have discounts to our Udemy courses here.


Getting AHK help from the Automator or other sources


Quick Icons script by HellBent

Speaking of Hellbent, did you see his Quick Icon script on the forum for quickly creating an icon?  We were on a call over the weekend and he demonstrated it to me.  Really cool!  I plan to borrow from it heavily!


Intro to Classes / Advanced Objects course

Did you see our news about the Intro to Classes course? We’re still working on it but it already has over 2 hours of content and we’re working on adding more examples because classes are fairly abstract and having solid examples will really help us learn how to use them.
If you sign up to be notified you’ll get a 15% discount once we offer the course for sale. 😲

This is a great conversation between Maestrith and RaptorX / Isaias Baez discussing using classes and V2 (the course is based on V1 but we thought it important to mention some things available in V2)


Objects, Maps & more in AHK v2️⃣ with maestrith & RaptorX


🅰️HK’s best kept secret!

I’m always amazed at how many AutoHotkey users that don’t use HotStrings! They’re one of the simplest and easiest ways to be more productive! If you’re not using HotStrings, trust me, you should! In about 30 minutes Ryan Wells and I outlined around 80 uses of them. They’re just AMAZING! In this video I demo just how easy they are to create. I’m working on a QAP knock-off that will focus on creating snippets & HotStrings. I’m hoping to make some progress soon…


Automation Expert tells best kept secret to Work Smarter, NOT harder


The-Automators’ Podcast


📚What we’re reading


👨AutoHotkey GURU 🏫 Interview: Rick C.

This was an interesting interview. I was fortunate enough to have met Rick in person as he’s here in the DFW area. Unlike most AutoHotkey users, he’s a computer science major. Rick mostly works in Object oriented languages like C++, Java, C and more. His first use of AutoHotkey was being able to automate a GUI in another program (which AHK is amazing at!)


Examples of AutoHotkey |AutoHotkey Experts: Rick C


Productivity tips ⚡️

  • Step 1️- 🚀Very quickly write pseudo code of what you want done
  • Step 2️- Write the actual code that will work (but not “pretty”)
  • Step 3️- Refactor your code!
  • Step 4️- Rinse & Repeat!

A spot of Humor 🤣

Are you one of the people that fit this image? I know a few… BTW- do you find it refreshing to press the F5️ key❓ 🤣


Quick Access Popup news

The other day I was on a client call and she wanted a very complex / advanced way to automate sending emails to employees (based on criteria in a database). While this is something we definitely could do, it would also have taken a decent amount of time to build into our tool (so it was cost prohibitive). I mentioned to her there was a super simple solution for having distribution lists and then recorded this video showing how I do it with Quick Access Popup.


How to easily create & manage a distribution list for ANY email / phone service


🗣️Quotable quotes💭

  • If you spend too much time thinking about a thing, you’ll never get it done — Bruce Lee
  • Do the hard jobs first. Easy jobs will take care of themselves. — Dale Camegie
  • You’ve got to be very careful if you don’t know where you are going, because you might not get there — Yogi Berra
  • You must stop expecting perfection — either from yourself, or your employees, or your customers and clients. It will never — 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.


AHKCon

Did you sign up for AHKCon? We’re planning on having it on August 6th-7th. Sign up here so you’re kept informed!


Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey AutoHotkey FAQ AutoHotkey FAQ

The-Automator

Joe and staff

P.S. Special thanks to the following for purchasing multiple AutoHotkey Udemy courses this month!

  • 2 Łukasz H.
  • 2 Sune M.
  • 2 Roman O.
  • 2 Radosław J.
  • 2 Radoslaw P.
  • 2 Piotr M.
  • 2 Patrycja Z.
  • 2 Monika S.
  • 2 Michał B.
  • 2 Michal D.
  • 2 Marta D.
  • 2 Marcin J.
  • 2 Malgorzata J.
  • 2 Maja G.
  • 2 Magdalena K.
  • 2 Magdalena G.
  • 2 Luiza G.
  • 2 Konrad K.
  • 2 Katarzyna S.
  • 2 Katarzyna L.
  • 2 Karolina N.
  • 2 Karolina K.
  • 2 KamilaM.
  • 2 Kamil D.
  • 2 Justyna B.
  • 2 Julija K.
  • 2 Julia D.
  • 2 John Arnel G.
  • 2 Jarosław K.
  • 2 Jacek G.
  • 2 Iwo S.
  • 2 Haylan W.
  • 2 Halina D.
  • 2 Grzegorz S.
  • 2 Edyta S.
  • 2 Dorota K.
  • 2 Dominika J.
  • 2 Dawid M.
  • 2 David S.
  • 2 Charles W D.
  • 2 Bartlomiej B.
  • 2 Anna W.
  • 2 Anna P.
  • 2 Andrzej M.
  • 2 Amadeusz G.
  • 2 Aleksandra A.
  • 2 AJANOU W.

🙏Favor for the-Automator (and AutoHotkey)

Do you watch Leila Gharani’s YouTube channel? If you use Excel you should as she, mostly, teaches Excel tips/tricks however today she released a video on AutoHotkey! Since she has over 1.6 million subscribers 😲 I hope it will give some attention to AutoHotkey. I commented a couple of times on the video. Can you please do me a favor and like my comments? The hopes being:

  • She’ll make more AutoHotkey videos (thus raising awareness of AHK to more people)
  • People that watch her videos will come check out my YouTube channel.

I’d really appreciate it!!! Let’s get the world to be more aware of AutoHotkey!

 


April 7th AutoHotkey Newsletter

Howdy %Name%,

I watched an AutoHotkey YouTube video the other day by an “expert”.  He was trying to “sell” his script/service to people.  Unfortunately, he was getting into the nitty-gritty technical details about his code🤓. As a result, I think most people would find the video painfully dull and/or make them feel stupid ☹. I doubt he gets many people to purchase/adopt his approach.

In ALL forms of communication, you need to pay attention to your audience’s knowledge & interests!

If you’re talking to a client, boss, or colleague, drop the tech talk / “geek speak”.  They don’t care about the nitty-gritty details about how something works; they are looking for solutions to their problems.

When you get into details, you’re not showing your audience how smart you are; you’re putting them to sleep and, in some cases, pissing them off 😡because they can’t follow what you’re saying.

Just remember, as Elmer Wheeler (considered to be America’s greatest salesman) “Sell the sizzle, not the steak🥩”.

Talk about solving their problems, and how your solution solves them.  Most people really want to know

  • You’re competent
  • your solution will solve their problems

Now on with the show…


Intro to AutoHotkey Classes & Objects Course

Have you ever seen a cool script on the forum but realized it’s using a “class” and not sure how to use it?  Want to improve the readability and maintenance of your code?   Are you familiar with Functions and ready for the next step?  Then our Intro to Classes course is for you!  We’re finishing up production of it but wanted to let you sign up here.  All people that sign up will get a
15%
😮 if/when they purchase.  We haven’t decided on the final price yet however it will be more than our typical courses because it is more niche & advanced.  I’m thinking the course should be available in a couple of weeks.


Overview of Intro to AutoHotkey Classes & Objects course


Default hotkeys for Editing / Reloading / Pausing / Suspending your scripts

When you’re creating a new script, it’s super helpful to have some default Hotkeys built into it while prototyping.  Here I demo a few that I have built-in to my template for new scripts.


Hotkeys to: Edit, Reload, Pause, and Suspend your scripts in AutoHotkey


What I’ve automated in AutoHotkey

Sometimes it’s inspiring to see what others have done with AutoHotkey (not the actual coding).  My playlist helps with this in general.  I made this new video a little while back.  How do you use AutoHotkey?  Anything worth bragging about?


What I've automated with AutoHotkey: WordPress tracking, MS Word, more


Searching for text within files

Sometimes I can’t remember what I’ve named a file OR I want to find files that use a bit of code.  GrepWin is a great, 🆓 free tool that searches within files


grepWin for Searching and Replacing Text within files: Must have tool!


Sending 💲 to Developing countries

If you live in a developing country or pay someone in one, you’re probably (painfully) aware how difficult, costly, and slow.   Isaias lives in the Dominican Republic and has tried many different ways to get money.  Most end up costing a fair amount to get the $ into his bank account.   We tried Xoom (a paypal service) and were very impressed with speed and costs.


Best way of Sending money or Getting paid outside the US


The-Automators’ Podcast


What we’re reading 📚

AutoHotkey GURU 👨‍🏫 Interview: Tank / Charlie Simmons

I’ve you frequent the AutoHotkey forum you’ve probably seen his posts.  This interview with Tank was before I got to know him well, but we had a wonderful chat.  As many others in AutoHotkey, he doesn’t have a background in programming yet does amazing things with AutoHotkey!  BTW- if you didn’t know it Tank runs the AHK Forum.


Productivity tip⚡️  Stop thinking🧠, start doing

Don’t get stuck in analysis paralysis!  Overthinking things won’t get you anywhere.  Ask yourself “what is one small step I can do now to move towards my goal?”  Get it done!

A spot of Humor

Gives a new meaning to “Hopeless Romantic”  🤣


Quotable quotes 🗣️ 💭

  • The secret to getting ahead is getting started. The secret of getting started is breaking your complex, overwhelming tasks into small manageable tasks, and then starting on the first one. Mark Twain
  • When someone tells me “no,” I just ask someone else. Joe Glines
  • A nickel ain’t worth a dime anymore — Yogi Berra 🐻
  • Put aside a healthy pile of “Up Yours” money, so you can walk away from any situation you don’t like, and know you’ll survive. — 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.


Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey AutoHotkey FAQ AutoHotkey FAQ

The-Automator

Joe and staff

P.S.  Special thanks to the following for purchasing multiple AutoHotkey Udemy courses this month!

  • 2 T.
  • 2 Radoslaw P.
  • 2 John Arnel G.
  • 2 Haylan W.
  • 2 Charles W D.
  • 2 A.