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

October 5th 2023 AutoHotkey Newsletter

AutoHotkey Newsletter

Howdy,

Last Friday we launched our Intermediate AutoHotkey in v2 course and I’m our clients are loving it!  If you’re ready for the next level of learning AutoHotkey, this is the course for you❗

With over 5 hours of content, broken down into bite-size videos, you’ll be automating to your heart’s content in no-time!   Isaias and I discuss what is in the course in this video.

Don’t forget we offer a 200% money back guarantee so you have NOTHING to lose!

We still have a couple of uses of the 40% off discount which can be used by clicking this link or using NWSIntermInitialOfferduring checkout.  But those will be used up soon so, unless you’re made of money, I suggest you act now before they are all gone!

Now on with the show…

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

Are you New to AHK v2?

If you’re not ready for the Intermediate AutoHotkey course, you can check out this video where we give you a relatively short intro to AutoHotkey in version 2.   If you’d like a clear path to starting out with AHK v2 you can check out our Intro to AutoHotkey V2 course.

Intro to AutoHotkey Version 2 | Learn to automate programs with AHK v2
Intro to AutoHotkey Version 2 | Learn to automate programs with AHK v2


Easily adding a Mouse Over / The-Automator Team Meeting

Every week we often have team meetings where Isaias, Irfan and I discuss what we’re working on.  During one of these calls Isaias suggested Irfan add a mouse-over to a GUI and mentioned “it’s easy”.  He then began to dazzle us!  Check it out in this video.

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


How to Easily use the Clipboard

The clipboard is a way under-utilized approach to simplify working with programs and scripts.  In this video we walk through some of the basics of working with the Clipboard.  If you want to take working with the clipboard to the next level be sure to look at Clipster!

📋 Copy and paste like a pro with AutoHotkey! 📋
📋 Copy and paste like a pro with AutoHotkey! 📋

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


Where are you

Did you know we have an AutoHotkey Users map that shows where you live?  This is a great way to connect with other AutoHotkey users in PERSON!  I know in a post covid world it’s hard to believe but, over the years, I’ve met with quite a few AutoHotkey fans.  Having real-world conversations is incredibly fun and enlightening.


Pinning Files / Non-Executables to your Taskbar in Windows 11

In case you’re new to Windows 11 I wanted to remind you that you can pin files to your taskbar with this simple hack.  It’s not great, but it’s better than compiling your script and having to edit the original… 

How to Pin a non-executable file to Taskbar in Windows 11
How to Pin a non-executable file to Taskbar in Windows 11


📚 What we’re reading


🤖 AI / Chat GPT-3 News / Usage


⚡️Productivity tips: When you start to slide, take a break1

Simple way to be more productive is to take a short break when you struggle.

Quick productivity hack. #shorts

Quick productivity hack. #shorts


🤣 A spot of Humor:  Sleeping Dogs don’t lay from Richard Lederer

Ever have someone ask you for a testimonial but you don’t want to give them one❓ 

Now you can!  Any one of these can be taken in a positive or negative context!

  • You’ll be lucky to get this person to work for you!
  • I cannot recommend this person too highly.
  • I recommend this candidate with no qualifications whatsoever!
  • She has made immeasurable contributions to our firm.
  • Nobody is better than this man!
  • I found myself frequently raving about her work!
  • We were teetering on the threshold of bankruptcy last year, and her efforts pulled us through.
  • For the services he has rendered to our firm over the years, we find ourselves deeply indebted!
  • I would place her research on the cutting edge.
  • She is now ready to strike out in a career.
  • Whatever task he undertakes, he will be fired with enthusiasm!
  • I would place this student in a class by herself.

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

  • Give me 6 hours to chop down a tree and I’ll spend the first 4 sharpening the axe Abraham Lincoln
  • If you spend too much time thinking about a thing, you’ll never get it done Bruce Lee
  • There’s more pay off from self-improvement than improving anything else Dan Kennedy
  • I’m a greater believer in luck, and I find the harder I work the more I have of it. Thomas Jefferson

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. If you want to level-up your AutoHotkey skills, I urge you to take action now before all the 40% off coupons are used up!  Save big on Intermediate AutoHotkey with this linkYou don’t want to miss this!


Are you more incompetent than you realize❓ / September 20th AutoHotkey newsletter

AutoHotkey Newsletter

Imagine you have a friend named Joe who likes to write AutoHotkey scripts. He thinks he is very good at it, but his scripts all imitate a human and do not utilize an API approach. Joe also thinks AutoHotkey is “buggy” because his scripts often don’t work (especially when he shares them with other people.)

Joe thinks that other people who write AutoHotkey scripts are not very good and take overly-complicated approaches to make more money.

He thinks he is the best script-writer in the world.

This is known as the Dunning-Kruger effect.  The Dunning-Kruger effect is when people think they know more than they really do.  They are not very good at something, but they don’t realize it. They also don’t accurately evaluate how good other people are.

They believe they are better than average, or even experts (Yikes!), when they are not. This can make them act overconfident and make mistakes and often blame the instrument instead of themselves.

The Dunning-Kruger effect happens because some people don’t have enough knowledge or skill to judge themselves or others correctly.

Often People don’t know what they don’t know

The more you learn about something, the more you realize how much you still need to learn. You become more humble and realistic about your abilities.

To avoid the Dunning-Kruger effect, you should always try to learn more about the things you are interested in or need to do. You should also ask for feedback from others who are more experienced or knowledgeable than you. This is one of the best benefits of the AHK hero group.  We have 3 hours of Zoom calls each week where we help provide guidance to Hero members.   Not to mention the private Telegram group where people can ask for help during the week.   Give it some thought.  If you’re not sure, check out these objections that many people think.  You’re probably a better-fit for the group than you think!

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

HotStrings & Hotkeys that paste: Images, Text, and Hyperlinks / Rich text

For several years now sending keystrokes with AutoHotkey has been problematic.   It got so frustrating I asked Irfan to adapt many of my HotStrings to paste the text (instead of sending keystrokes).

This is a much more reliable way to get the text where you want it.   Nothing too special here…   But I also realized it is super easy to trigger them with either a Hotkey or a HotString.   Still, nothing too “wow” leveled (other than having automations that worked reliably).

Then I realized why don’t we kick it up a notch by making it easy to paste Rich text / Text with Hyperlinks and/or pictures.  Wow Now we’re on to something!

The function parameters are very easy to follow.  We share how to use them in this video.

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


We’re also considering wrapping the whole thing in a GUI to allow non-AutoHotkey users a way to have this functionality.  😊

Easily Adjusting your DPI

We just released two scripts that do (basically) the same thing.   They both make it super-simple to assign a hotkey to change your DPI.  One of them allows you to assign the monitor the hotkey will be applied to while the other just looks at the monitor your mouse is over.  You can see them in use in this video.

Two AHK scripts to easily change your Monitor’s DPI Scaling
Two AHK scripts to easily change your Monitor's DPI Scaling


How to Create & Use Custom functions

Last week I mentioned this video extracted from Intro to AHK v2 that explains how you can use the built-in AHK functions.    This week I’m following up by sharing this video which helps you see how you can write your own functions.  Functions are a crazy-powerful way to level you up!

Defining custom functions in AutoHotkey v2
Defining custom functions in AutoHotkey v2

Don’t forget, all of our courses come with an amazing 200% money back guarantee!


Pinning Files / Scripts in Windows 11

I have to say I’m not loving Windows 11❗ Granted, I wouldn’t even be using it if I hadn’t found this app that allows me to put the Taskbar on the side.  In this video I walk through a work-around on how to pin non-executables to the Taskbar.

How to Pin a non-executable file to Taskbar in Windows 11
How to Pin a non-executable file to Taskbar in Windows 11


How to create a File Installer with InnoSetup

A while back Jean Lalonde, author of Quick Access Popup, gave us a great tutorial on how to use InnoSetup.  In this video Jean walks us through many of the settings and how it can be configured to give your script a “level-up”.

💻 Take file installation to the next level – Use Inno Setup like a pro!
💻 Take file installation to the next level - Use Inno Setup like a pro!

Incidentally I spoke with Jean last week and he’s been hard at work on his other “clipboard” tool.  You can see an overview of it’s functionality in this video.

💥 Supercharge your productivity with this Amazing Clipboard Tool!😲
💥 Supercharge your productivity with this Amazing Clipboard Tool!😲


New YouTuber: Easily set windows locations

I was watching YouTube the other day and stumbled upon this video from Inthekhud.  He did a pretty good job.  He walks through using WinGet to detect where a window is located and then how to set it’s location.  I hope he continues to make AutoHotkey videos.  The more the better!

STOP manually adjusting windows | Use AUTOHOTKEY!
STOP manually adjusting windows | Use AUTOHOTKEY!


**********************

📚 What we’re reading


🤖 AI / Chat GPT-3 News / Usage

HUGE Bard Update: The Future of Google is Now AI

HUGE Bard Update: The Future of Google is Now AI



⚡️Productivity tips: Setting Goals

Setting Daily, Weekly, Monthly and annual goals are a great way to make sure you achieve what you want.   Having said that, goals only take you so far, in the Atomic Habits book, he explains how habits are what truly drive action!


🤣 A spot of Humor This would freak me out!

Our Most Chaotic Prank Of ALL TIME | Just For Laughs Gags
Our Most Chaotic Prank Of ALL TIME | Just For Laughs Gags


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

  • How you deal with failure determines whether or not you ever get to deal with the success Dan Kennedy
  • A major reason for procrastination and lack of motivation is vagueness, confusion, and fuzzy minded thinking about what you are trying to do and in what order and for what reason. Brian Tracy
  • You must stop expecting perfection — either from yourself, or your employees, or your customers and clients. It will never happen. John Carlton
  • History is just new people making old mistakes Sigmund Freud

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. Are you one of those people that don’t know what you don’t know?  One of the best ways to safeguard against this is to regularly meet amongst others that know more than you.  The AHK Hero group is a great place to learn from others and ensure you’re accurately assessing your skills.  Do yourself a favor and sign up.   The only thing you’ll regret is that you waited so long!

AutoHotkey Webinar- Advanced Web Scraping with AutoHotkey

Advanced Web Scraping with AutoHotkeyToday’s AutoHotkey Webinar on Advanced Web Scraping with AutoHotkey we covered some “fun” topics.   We also demonstrated using Visual Events 2 to detect Event Listeners on a page

Video Hour 1: High-level overview

Video Hour 2: Q&A

Be sure to grab our Web scraping syntax writer

Script highlight

; Stupid simple webScraping with AutoHotkey
Send, ^a ;Select All
sleep, 50
Send, ^c ;copy
sleep, 50
Clipboard:=StrSplit(Clipboard,”:”).1 ;split the clipboard on the colon and return everything to the left of the first one
Send, ^v ;paste
sleep, 350
Send, {tab 4} ;tab to the next field where I need to re-run

We also showed a bit about dealing with Try and using .item[0] in the DOM call. i.e. instead of using

pwb.document.getElementsByClassName(“feed”)[0].InnerText
use
pwb.document.getElementsByClassName(“feed”).item[0].InnerText
This way, if an element doesn’t exist, it will not error out.

To wait for it to be present you could do this

while (pwb.document.getElementsByClassName(“feed-identity-module__stat link-without-visited-state”).length < 3){
ToolTip, Here
Sleep, 50
Cap’n Odin offered up these two gems.  The first will close all running AutoHotkey scripts and the second one will pause them.

; Close all AutoHotkey scripts
DetectHiddenWindows On
Winget, lst, List, ahk_exe autohotkey.exe

loop % lst {
hwnd := lst%A_Index%
if(hwnd != A_ScriptHwnd) {
WinClose, % “ahk_id ” hwnd
}
return

; pause all AutoHotkey scripts
DetectHiddenWindows On
SetTitleMatchMode, 2
Winget, lst, List, AutoHotkey ahk_exe autohotkey.exe

loop % lst {
hwnd := lst%A_Index%
if(hwnd != A_ScriptHwnd) {
PostMessage, 0x111, 65306, , , % “ahk_id ” hwnd
}
}

Paste plain text- Use 7 lines of AutoHotKey to easily strip complex RTF/HTML formatting

Paste plain text

I (like everyone else in the world) frequently copy-paste between various programs. While some programs like Word and Excel allow for paste plain text, a lot do not.

Paste plain text

I wrote a small script in AutoHotKey which takes the contents of the clipboard and strips it of HTML/RTF format. This way it allows me to paste as plain text in any program by hitting a key combination (Control+G).  What’s great is that I don’t actually lose the original format so, if I decide I actually wanted the original content, I can still just paste with Control+V and I’m good to go!

Below is the actual code to paste plain text in AutoHotKey.

paste plain text