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

March, 21st 2024 AutoHotkey Newsletter

Howdy %Name%,

I was 12 years old when Empire Strikes back came out in 1980.  I still remember when Luke was on Dagobah beginning his training with Yoda.  At one point Yoda says “Do. Or do not. There is no try.” This line is a fundamental part of Yoda’s teaching, emphasizing the importance of commitment and belief in oneself and the Force.

It reminds me of one of my favorite quotes from Henry Ford 🚗

” Whether you think you can, or you think you can’t; you’re usually right

Many people don’t try AutoHotkey because they don’t even realize there is a tool that can automate or tweak their programs.  I’m not sure how to help them other than continue making YouTube videos spreading the word.

However, there are a lot of people that hear about AHK but don’t try to learn it because they think they can’t learn to “program”.  This is where Yoda’s advice is so relevant.  I believe anyone that believes in themselves can learn the basics of AutoHotkey.

Especially if they have a place to get pointed in the right direction when they “hit a wall”.  Being able to get help by AHK experts that remember what it is like to be first starting out is one of the core reasons I created the AHK hero group.
Alternatively, you could schedule a Tutorial Session with is where we review your code and/or help you learn a topic.  Like our courses, our Tutorial session is guaranteed!  If we can’t significantly level-you-up, you pay Zero, Nada, Zilch!
We take all the risk!

Now on with the show…

Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Make the switch to v2

Automating Excel with AutoHotkey: Overview

Last month Rizwan had some questions for us on working with Excel with AutoHotkey.  Things like what is a COM object, How do they relate to DLL calls, etc.   We discuss this and more in this video.

Learning about the Excel COM object, classes, functions, etc.
Learning about the Excel COM object, classes, functions, etc.


🙊🎙️Hotkeys to Mute your Mic and speaker🔇🙉

Ever want to have a hotkey to mute your microphone, speakers or both?  In this video we unveil our new tool which makes it easy to assign a hotkey to each and all of the above actions.

Scipt to Easily Mute your Microphone and Speakers with a Hotkey
Scipt to Easily Mute your Microphone and Speakers with a Hotkey


Easily Comparing overlap of Two lists

Do you ever have lists of items where you want to compare how much overlap there is between them?  Years ago I did and wrote a basic script.   In the new version I asked Rizwan to convert it to v2 but we added some additional functionality like:

  • Make the comparison case sensitive
  • Trim whitespace on the ends
  • Show the 3 lists using our v2 amazing Notify class

How to Easily Compare lists of Items
How to Easily Compare lists of Items


📚 What we’re reading


🤖 AI / Chat GPT-3 News / Usage


⚡️Productivity tips: Resetting Chrome Zoom

Control+0 will reset your zoom in Chrome to 💯%.   Might nice way to get things back to normal.


🤣 A spot of Humor: Territorial Army

If you’ve never seen the BBC version of the office, I highly recommend it.  Here’s a great clip from it with Tim and Gareth (US version of Jim & Dwight).

The BBC Office: Territorial Army
The Office (ORIGINAL) Territorial Army


What we 🅰utomated this week with AutoHotkey #37

This week we did an awful lot of client work so I had less to discuss in the video showing what we automated with AutoHotkey.   Still there were some cool tools that I shared that we’ll have out in a few weeks.  You can see what I covered in this video.

What we automated with AutoHotkey #37
What we automated with AutoHotkey #37


AHK Hero 🦸

Consider joining the 🦸AHK Hero club! Members receive 25% off courses, consultations, tutoring, done for you project work, etc.    Currently we have over 227 hours of recordings teaching AutoHotkey that is exclusive to AHK Hero members❗

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

  • Member’s questions / Scripts
  • Customizing scripts depending how being used
  • Working with ini files
  • Using a Resizable GUI

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

  • Whenever you are asked if you can do a job, tell ’em, ‘Certainly I can!’ Then get busy and find out how to do it Theodore Roosevelt
  • People who enjoy meetings should not be in charge of anything Thomas Sowell
  • The thing about smart people is that they sound crazy to dumb people Steve Jobs
  • The “best” is always the enemy of the good 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, Rizwan and staff


P.S. Every night I go to bed listening to the Dan Bongino podcast.  Usually, I only last a few minutes and fall asleep but last week I woke back up at the end of his show and was really caught-up in his story on how Pain and Suffering is a blessing.

It was so captivating I went and extracted it in this clip.  Having gone through a horrendous childhood I 💯% believe this to be true.  I’ve always been much stronger of a person than my friends and am convinced it is primarily due to the struggles I had as a child.

Unlike Dan I’m not able to wish you Pain & Suffering however I do believe what doesn’t kill you makes you stronger.  So remember, if it is you or someone close, eventually things do get better❗

Dan Bongeno on Pain and Suffering
Dan Bongeno on Pain and Suffering


AutoHotkey News March 14th, 2024

Howdy %Name%,

In 1986 I worked for a small company in Novato, CA.  One of their “joke” products was a cassette that, when played had a person saying “Really❓ go on…” every 30 or so seconds.  The name of it was something like “Psychiatrist in a box”.

Today we were on a client call where Isaias asked my opinion on how to solve a programming question.  While I did listen to his question, as usual, while Isaias was explaining the problem he also realized the solution.   This is a very common occurrence and is why we highly encourage our AHK hero members & Students to use the “Rubber duck method🦆”.  

Talking out loud to another person (or an inanimate object) helps by forcing a programmer to:

  • Clarify their thinking
  • Articulate problems more precisely
  • Approach debugging with a fresh perspective

This often leads to insights and solutions that might not emerge from silent, internal reflection alone. 

Talking out their code is something I’ve noticed while I’m on calls with amazing programmers and I highly recommend you do it!  Granted, your colleagues may thing you do need a psychiatrist but at least you’ll have better running code

Now on with the show…

Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Make the switch to v2

🆕How to Easily Add a New Modifier Key

Are you running out of key-combinations for Hotkeys❓  Don’t worry, in this video I show you how easy it is to add a foot pedal.   This means you can easily combine it with nearly all keys on your keyboard, or even with other modifier keys like Control, Win, Alt, Shift, etc.

Adding a new Modifier key to expand your available Hotkeys
🆕Adding a new Modifier key to expand your available Hotkeys


High-Level look at AutoHotkey Libraries

During an AHK hero call Isaias mentioned a good source for some V2 libraries.   I thought we should cover them, and some v1 libraries so we created this video

We didn’t mention it but you should also check out our amazing Notifications class and Rufaydium robust for browser automation.

We discuss some great AHK Libraries
We discuss some great AHK Libraries


How to Easily Paste Pictures, Links, or Text

If you have the need to frequently paste the same pictures, Hyperlinks, or text, we show you how this can easily be done with Clipster in this video.  It’s a great, simple AHK v2 function.

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


Learn AutoHotkey in small lessons

Our email onboarding campaign is  a great way to ease-into discovering the powers of AutoHotkey.   This video walks through the flow and how to get signed up.  Alternatively you can visit this page and jump around the lectures at any time.

🔥 Hot Secrets Revealed in Our AutoHotkey Onboarding Emails!📧
🔥 Hot Secrets Revealed in Our AutoHotkey Onboarding Emails!📧


Selecting Text with your Mouse

We all know at least one way to select text with a mouse however, this video, extracted from our course on how to become a power user, covers many others that can save you a ton of time!  I guarantee you’ll learn something if you watch the video!

😲Amazing Secrets for Selecting Text with a Mouse🖱️: Course Extract
😲Amazing Secrets for Selecting Text with a Mouse🖱️: Course Extract


📚 What we’re reading


🤖 AI / Chat GPT-3 News / Usage


⚡️Productivity tips: Start the day right

Begin your day listening to something inspiring.  It will set the pace for the day!🏃‍♂️


🤣 A spot of Humor  This is so wrong! 🐱🌳🔥

I remember laughing out loud when I first saw this one! The smoke was a very nice touch!
Fire Breather!  | Just for Laughs Compilation


What we 🅰utomated this week with AutoHotkey #36

Isaias joins me this week and we dive into a few of our scripts when we discuss what we automated this week with AutoHotkey.

What we automated with AutoHotkey #36
What we automated with AutoHotkey #36


AHK Hero 🦸

Consider joining the 🦸AHK Hero club! Members receive 25% off courses, consultations, tutoring, done for you project work, etc.    Currently we have over 224 hours of recordings teaching AutoHotkey that is exclusive to AHK Hero members❗

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

  • Using ini Files: tips and live example
  • Using a For Loop instead of Infinite Loop
  • Turning on/off Redraw on GUI
  • Some differences between OpenGL, GDI and DirectX

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

  • Time is Linear; Progress does NOT have to be! Joe Glines
  • Hire people that are over-performing in crappy jobs Dan Kennedy
  • As iron sharpens iron, so one man sharpens another Proverbs 27:17
  • You have just as much time as: Bill Gates, Steve Jobs, Thomas Jefferson & Einstein. It’s all about prioritizing & staying focused Joe Glines
  • Build your own dreams or someone else will hire you to build theirs Farrah Gray

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, Rizwan and staff


P.S. Today’s introduction regarding talking out ideas with others is not something you should gloss over.   We highly recommend the AHK Hero group however the important thing is you find someone to bounce your ideas off of.

AutoHotkey Newsletter March 7th, 2024

Howdy,

I’ve always been a curious person.   While obtaining my undergraduate degree in Marketing I realized that I would ask 95% of the questions in class.  Thankfully I’ve never cared much what other people think of me so I wasn’t “embarrassed” to be asking a question which freed me up to learn!

Looking back, I realize how fortunate I was to be asking questions.  By asking questions I was learning “how to learn”.   How to form hypothesis and use logic to prove them right or wrong.

It’s one of the main reasons why learning AutoHotkey came easy for me.  Unlike you, there were no courses on AutoHotkey, nor did I know anyone that knew it.  I had to work through things on my own.

Curiosity may have killed the cat but it made me smarter than the average bear!

For a couple of years I worked with Maestrith (author of AHK Studio) nearly every day.  Being able to watch him code, and ask him questions, was a HUGE benefit.

It’s one of the main reasons why I created the AHK Hero club.  Giving people access to world-class AutoHotkey programmers, for a reasonable price, is an incredible way to make giant leaps in learning!  Now that we have a super-low cost trial period you have NOTHING to lose!  Give it a try I guarantee you will love it!

Now on with the show…

Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Make the switch to v2

Real World Example Using the Case Statement

Last week Rizwan asked Isaias for some help on one of the scripts we’re working on.  It involved using the case statement and checkboxes.  Lots of great tips in this video.  We’re almost done with the tool. Should have it out later this week.

Working with Case statement & Checkboxes in a v2 AutoHotkey GUI
Working with Case statement & Checkboxes in a v2 AutoHotkey GUI


Amazing tips for Selecting Text with the Keyboard

If you’re wanting to be more productive, you really need to watch this video!  It’s an extract from our course on how to become a power user.

😲Advanced Tips on Selecting Text with the Keyboard⌨️ (Course Extract)
😲Advanced Tips on Selecting Text with the Keyboard⌨️ (Course Extract)


Intro to Xpath

A couple weeks ago Irfan was learning how to use Xpath with AutoHotkey.  Isaias did a great job giving him a short tutorial.   If you’re needing to store small amounts of data, Xpath is really great!  You can check out the tutorial in this video.

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


What is Mulit-Part form data

During last week’s AHK Hero call, someone asked for some tips on working with APIs.   Isaias and I discussed a few basic things and then we both mentioned, if you see “multipart / Form data” you better be ready for a deep-dive.   APIs are fairly easy however dealing with multipart data can be confusing.  While I learned how to use a library for working with them, I wasn’t exactly clear on what I was doing so, a couple years ago, I asked Isaias to walk through the process.  You can get some great tips by watching this video

What is multipart form data? How to handle it with WinHTTPrequest
What is multipart form data? How to handle it with WinHTTPrequest


📚 What we’re reading


🤖 AI / Chat GPT-3 News / Usage


⚡️Productivity tips: 2 minute rule

Starting and stopping is a very inefficient way to work.   If you start something, and it can be done in under 2 minutes, don’t put it off.  Do it right then and there!


🤣 A spot of Humor:  Ge ready to laugh your head off!

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


What we 🅰utomated this week with AutoHotkey #35

Last week we did a lot of consultations so we’re a bit light in what we can share however I did still walk through some the cool things we automated with AutoHotkey in this video.

What we automated with AutoHotkey #35
What we automated with AutoHotkey #35


AHK Hero 🦸

Consider joining the 🦸AHK Hero club! Members receive 25% off courses, consultations, tutoring, done for you project work, etc.  We have 3 hours of AHK Hero calls each week. Currently we have over 221 hours of recordings teaching AutoHotkey that is exclusive to AHK Hero members❗

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

  • Member’s quesitons / Code
  • Making button default so you can “hit enter” and trigger it w/o mouseclick
  • Checkin for folder’s existance. if folder doesn’t exist using Dircreate
  • Gui show verse WinMove and g.Move
  • Turning off detecting hidden text: When and why to use it

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

  • Better to Remain Silent and Be Thought a Fool than to Speak and Remove All Doubt Mark Twain
  • New goals don’t deliver new results. New lifestyles do James Cleary
  • Successful people rarely start out as most likely to succeed

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, Rizwan and staff


P.S. If you’re wanting to have someone to ask questions to you really should join our AHK hero club.   Between the 3 hours a week of calls and the private Telegram group, you’ll have a new “go to” place for Discovering AutoHotkey.

51 Questions to Consider BEFORE you start on your AutoHotkey Script

Important Questions to Consider BEFORE writing your AutoHotkey Script

Please note you don’t have to consider every question below.

Use your judment to decided which ones are important for your current project

  1. Resources and Constraints: Assess the resources available (like time, budget, and tools) and any constraints (like system limitations or dependencies).
  2. Problem Definition: Clearly define the problem you aim to solve with the automation to ensure your solution is focused and effective.
  3. Data Source Evaluation: Evaluate if you’re using the best possible data source or if there’s a better alternative to enhance accuracy and reliability.
  4. Script Users: Identify who will be running the script to tailor its complexity and user interface accordingly.
  5. Deployment Scale:
    • File Locations: Ensure consistency in file paths across different machines.
    • Operating System Compatibility: Check if the script needs to run across different operating systems.
    • Software Requirements: Verify that all required software is installed on target computers.
  6. User Base:
    • Admin Rights: Determine if users need administrative privileges to run the script.
    • Skill Level: Consider the users’ technical skill level to make the script user-friendly.
  7. Performance: Decide how critical the script’s performance is, which could affect design choices (e.g., speed vs. readability).
  8. Reliability: Ensure the script is reliable under various conditions, which might include adding error handling and redundancy.
  9. Execution:
    • Starting the Script: Plan how and when the script will be triggered.
    • Customizable Hotkeys: If using hotkeys, consider allowing users to customize them to avoid conflicts with other applications.
    • Hotkey Awareness: Ensure users can easily learn and remember how to use hotkeys.
  10. Training Resources: Decide if creating a training video or other resources is necessary for user onboarding.
  11. Error Handling: Implement robust error and exception handling mechanisms to ensure the script can recover gracefully from unexpected states.
  12. Pseudocode Planning: Write high-level pseudocode to outline the script’s logic and structure, facilitating a smoother coding phase.
  13. Decision Points: Identify where the script requires decisions to be made, potentially requiring user input or predefined logic.
  14. GUI Consideration: Evaluate if a graphical user interface would enhance usability, particularly for less technical users.
  15. Script Lifetime: Determine whether the script needs to run continuously or can be executed on demand.
  16. Project Scope and Urgency:
    • Initial Version: For larger projects, consider releasing a simplified version to meet immediate needs.
  1. Error Reporting: Plan a mechanism for users to report issues, which can help with troubleshooting and future improvements.
  2. Data Sensitivity: Address the handling of sensitive information, possibly requiring encryption or secured access.
  3. Legal Compliance: Ensure the script complies with relevant licensing and legal restrictions.
  4. Termination Procedure: Design a clear and safe way for users to exit the program.
  5. Source Code Protection: If keeping the source code private is essential, plan for obfuscation or compilation to protect it.
  6. Incremental Development: Break the project into manageable parts for quick wins and gradual enhancements.
  7. Process Review and Borrowing:
  • Script Reuse: Look for opportunities to reuse code from similar projects.
  • Automation Methods: Choose the most suitable automation techniques (e.g., COM, ACC, API calls) based on the application and accuracy requirements.
  1. Community Resources: Search online forums, videos, and documentation for coding examples and best practices.
  2. Peer Support: Reach out to knowledgeable individuals or communities for advice on complex issues.
  3. Version Control System Integration: Plan for using version control to manage and track changes to the script, facilitating collaboration and version tracking.
  4. Error Logging and Monitoring: Implement logging for errors and key events to aid in debugging and monitoring the script’s health.
  5. Scalability: Consider if the script needs to scale in response to an increase in workload or users, and plan for potential optimizations.
  6. Internationalization and Localization: Prepare for multi-region use by considering language translation, cultural differences, and local formats.
  7. Accessibility Features: Ensure the script and its interface are accessible to users with disabilities, adhering to accessibility standards.
  8. User Feedback Mechanism: Incorporate a way to gather user feedback for continuous improvement of the script.
  9. Security Measures: Beyond data handling, ensure the script does not introduce security vulnerabilities and protects against unauthorized access.
  10. Update and Deployment Strategy: Develop a strategy for deploying updates to users, possibly including an auto-update feature.
  11. Tool and API Integration: Plan for any necessary integrations with external tools or APIs, including handling authentication and rate limits.
  12. Documentation for Users and Developers: Create comprehensive documentation to assist with usage, troubleshooting, and further development.
  13. Environmental Variability: Account for differences in user environments, such as screen resolution or DPI settings, that might affect the script’s functionality.
  14. Testing Strategy: Outline a plan for testing the script through various stages of development to ensure quality and reliability.

By addressing these considerations, you’ll be better prepared to develop a robust, user-friendly, and maintainable AutoHotkey script.