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

Basics of Creating a Hotkey: Extract from Intro to AutoHotkey in v2

How to create a Hotkey: Intro to AHK in v2 Extract
Intro to AHK v2 Hotkeys Extract


This video teaches viewers how to create hotkeys in AutoHotkey v2 for launching actions and performing various tasks.

  • 00:00 📝 Learn how to create hotkeys in AutoHotkey, which are triggers used to launch actions, in this extract from the Intro to AHK v2 Hotkeys course.
  • 00:49 📝 Creating hotkeys in AHK v2 is as easy as creating hot strings, with the only difference being the syntax for specifying the hotkey and the action, and modifier keys like Control, Alt, Shift, and Windows can be referred to using special characters.
  • 02:09 💡 To create a hotkey in AHK v2, use the character for the modifier key (e.g., control) followed by the desired key (e.g., enter) and separate them with a colon.
  • 03:03 📝 The speaker explains the difference between hotkeys and hot strings, and demonstrates how to create a hotkey that opens a website when a specific key combination is pressed.
  • 04:08 💡 The Run command in AHK v2 allows the user to execute files or open websites with their default application, making it convenient and efficient.
  • 05:12 🔑 You can easily create hotkeys for various actions like opening files, folders, or websites using AHK v2, with the hotkey command taking a hotkey as the first parameter and the corresponding action on the right side.
  • 05:58 💡 The speaker explains how to define and use a function in AHK v2 for performing actions based on a specific hotkey.
  • 06:50 💡 Create dynamic hotkeys in AutoHotkey by defining a variable and using an if statement to determine if the hotkey should be set or not.
hey it’s Joe Glines from the-Automator and this video we’re going to show you it’s an extract from our Intro to Autohotkey course intro and V2 that is and this is going to walk you through how to create HotStrings and Hotkeys right phenomenally helpful you can use them to launch things you can do using them for a lot of different stuff they’re think of them as triggers when you want to do
something is the most often used so in this video here is this is going to walk you through how to set them up I’m going to put up a coupon code or a link that’ll give you 20 percent off if you’re interested in getting the intro to AutoHotkey course it’s a great solid course I think it’s around four hours long most of videos are between three to five minutes this one’s a little bit longer butthey’re very very to the point and easy to follow they’re built for people who don’t know anything about
coding so check it out I hope you liked it please like the video If this helps you because it really helps us out cheers creating HotStrings so again anAuto Hotkey it is just a matter of specifying the Hotkey that you want and the action the only thing that changes a little bit is the syntax of how you do that let me go ahead and show you how to create static and dynamicHotkeys so if we open a new file we have our directives here for single instance and what it requires and in this case let’s
go ahead and create a Hotkey you have the hashtag like this so if I want to create a Hotkey that says Ctrl enter
or Ctrl shift enter I don’t have to write control or you know shift I don’t have to write any of that I just use the character that is designed for it and that’s the reason why on the Hotkeys because you because each each of them has a specific meaning but now to create a Hotkey let’s go ahead and say that I want to show a message box when I hit control enter so what I would do is I would have
to use the character for control which is the correct and then enter as a word like that and then I put two columns one after the Auto which defines that I’m doing a HotString instead of aHotkey here I don’t have the two columns at the beginning but I do have the two columns to divide the action in this case let’s go ahead
and do message box right and this is a test so now when I run this script whenever I hit Ctrl enter on my keyboard I will get this new box this is great as I mentioned it’s really easy and even though this example is very simple you could do many Auto things and actually very cool things for example just to show you how easy it is instead of a message box let’s do something a little bit more practical let’s say that I want to have a website show up whenever I press aHotkey so let’s go ahead and do control okay shift
F1 I can do this Ctrl shift F1 now what I could use in this case is the-Automator
website here I run this up and again as I mentioned this is Ctrl shift plus F1 in this case and this is Control Plus enter right so I’m running my script Ctrl shift F1 just goes ahead and open scrum with that page so just imagine how cool it is that you can create HotStrings and is
the same concept with the Hotkey command instead so this command takes a Hotkey as the first parameter notice that I’m actually putting quotation marks because this is literal text so this would be control so let’s say Ctrl shift enter in this case and then the action goes on the right side but the second side the the action that I’m going to perform is usually a function that you’re going to call and for that reason I do not have to put that in quotation marks because it is a function object and not only that I have
to Define define the function myself so let’s say open desktop this is going to be my function I just name it like that but as that is not literal text this is referring to a function you do not have to put quotation marks there but you do have to define the function somewhere else we will talk about functions later during the course but as a quick overview this function will take one parameter it is the plot key that I press this up and in the braces here I’m going to put the actions that I want to perform with this function in this case
what I want to do is run the desktop so a desktop is a variable that contains the path to my desktop and if I try to run a folder what is going to happen is that AutoHotkey is just going to go ahead and open the folder in Explorer so in this case this is the way to define a dynamic Hotkey which you can of cAutose use option right if you have a variable called option you can determine if it is true or false and if it is true then go ahead and use theHotkey and set theHotkey if it is false don’t set it so this is the way
to create Dynamic Hotkeys the-Automator this is how simple you can create Hotkeys in here

August, 2022 AutoHotkey Newsletter

AHK Newsletter

AutoHotkey News Sep 29th, 2022

I hope you’re aware that, like most people (and probably you). I have no background in programming.

None, zilch, na-da❗

And yet, in a few hours, I’ve been able to automate what entire IT departments say will cost tens-of-thousands-of-dollars!

How have I been able to do this?   Is it I’m a super-genious?  Nope!  Is it that I have is a dogmatic tenacity to never give up and a refusal to do the mundane.

My time is WAY too valuable for that!

Mundane repetitive tasks is precisely what lead me to AutoHotkey.

It’s, by far, the easiest language for non-programmers to pick-up and do AMAZING things!   I saved so much time automating my jobs it allowed me to spend even more time learning more about AutoHotkey.

Much of which is what I’ve put in our AutoHotkey courses

You see, the “bad part” of AutoHotkey is there’s so many things you can learn it can be really hard to know where to start.  That’s what my AutoHotkey courses really help with!  Giving you a clear and simple path to follow really helps guide you to becoming that person where you can prove others wrong when they say “nothing can be done”.

I will also shamelessly mention our AHK Hero program as a great way for you to “level-up”.

We have students of all ages and skill levels.   We’re helping each other, pointing you in the right direction.  Why not give it a try?  In addition to 25% off of our premium courses & client work we’re offering 2 hours  a week where we hang out in zoom sharing and learning from each other.

Now on with the show… 



How to ask your AutoHotkey Questions

A lot of people that use AutoHotkey are 💯% new to programming.  They often try and ask questions on the AutoHotkey forum, SubReddit, my YouTube channel, etc. but often don’t get their questions answered.   I try and respond to every comment on my videos but, often, I don’t even understand what the person is asking.

In this video I walk through some of the things you should think about when asking your AutoHotkey question.

How to ask your AutoHotkey question and get it answered❗

How to ask your AutoHotkey question and get it answered❗


How to Reference a Variable in AutoHotkey

I’ve been working on an on-boarding email drip campaign to help people truly-new to AutoHotkey.   This video is extract from Intro to AutoHotkey where I show just how easy it is to refer to a variable.

I’m just including it here in case you’re just starting out with AutoHotkey and want to see how easy it is. 

How to reference a Variable in AutoHotkey

How to reference a Variable in AutoHotkey


Basics of Debugging: Where to start

On that same note, I recently recorded this overly-simple video of what you might want to check for if your AutoHotkey code isn’t working.  When you’re new to coding, the steps to take are not obvious!  This video breaks down some key things to look for.

Troubleshooting your AutoHotkey Script (extracted from Intro to AutoHotkey)

Troubleshooting your AutoHotkey Script (extracted from Intro to AutoHotkey)


Creating a Toggle with a Hotkey

A subscriber recently asked me how to setup a variable that toggles off a hotkey.  In this short video I show how simple it can be (as long as you remember the one Directive that you need to tweak)

How to easily Toggle a variable with a Hotkey in AutoHotkey

How to easily Toggle a variable with a Hotkey in AutoHotkey


Move your taskbar to the side

One of the simplest things you can do, that has a dramatic effect on your efficiency, is to get your computer setup in a way that helps you work smarter, not harder.   If you don’t already have your taskbar on the side, I highly encourage you to give it a try for 3 days.   The first day you’ll hate me but, by the 3rd day, you’ll be LOVING IT!💖  In this video I show you how I optimized mine and put toolbars at the top and bottom to have ~50 shortcuts taking up a very small amount of space.

Simple hack to optimize your taskbar and maximize your desktop

Simple hack to optimize your taskbar and maximize your desktop


Projecting X days out

One of the very first scripts I ever wrote that had a GUI was for a friend of mine that worked in Logistics.  He was constantly needing to select a date in the future and he absolutely loved this simple little gem I wrote for him.  If you’re new to GUIs, our GUIs are easy course walks you through creating GUIs step-by-step.

Cool tool to easily project days out | Days in the future (2021)

Cool tool to easily project days out | Days in the future (2021)


📚 What we’re reading


⚡️Productivity tips: If You’re Having A crappy Day, Press the ‘reset’ button.   

When things go sideways and you feel your attitude going negative find a way to “walk away” from what you’re doing.  As they say

A bad attitude is like a flat tire. If you don’t change it, you’ll never go anywhere.

One of my favorite ways to “restart the day” is by taking a quick nap.  If that’s not something you can do, go for a walk, crank up some tunes, or just meditate.  Don’t let your day go to a waste…


🤣 A spot of Humor

I wish I had seen this when my son was that age!


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.


🗣️ 💭 Quotable quotes

  • If you are not ready today, you will be even less so tomorrow Ovid
  • Don’t wait. The time will never be just right. Napoleon Hill
  • Work first, reward second, in order Dan Kennedy
  • Tough times never last, but tough people do❗ — Robert Schuller

 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

Howdy %Name%,

AHKCON – World’s first 🅰utoHotkey Conference!

We’re had an amazing time at AHKCon.   ⑧ hours of great learnings & conversations❗  We had a great turn-out and received great feedback

You can go here and see the results to the polls & get the chat files.

Now on with the show…

Sending “special” characters with ⒶⒽⓀ 😁❗

Ever try to send “special”  Uniocode characters (Non-ANSI)?  Emojis or non-English characters are often problematic to send.   Often it’s just that your file is not being saved in UTF-8 format however, for many people, encoding is a confusing topic so we made a simple tool to provide you with AutoHotkey syntax that will work regardless of your file encoding.    If you’d like to learn more about file encoding you should check out the webinar lead by Jean Lalonde.

How to send Unicode Characters with a Hotkey❗

How to send Unicode Characters with a Hotkey❗


Avoiding the coming catastrophe

AutoHotkey v2️ isn’t the default version now but it’s probably going to be pretty soon!   If you haven’t started working with it, now is an amazing time to loop over all of your AutoHotkey scripts adding the #Requires directive.  We wrote a little tool to make it easy for you!

Avoid the coming catastrophe 💣 and use this script today!

Avoid the coming catastrophe 💣 and use this script today!


Using all your keys

I have a TON of Hotkeys!  So many that I was actually having a hard time coming up with key combinations that weren’t already taken.  The other day Isaias and I were talking about looking at the #KeyHistory directive and he was explaining how easy it is to look at the Virtual Key (VC) and Scan Code (SC) to see if AutoHotkey can detect those “odd” keys on your keyboard.

How to map a mystery key to a hotkey | 🗺❓🔑

How to map a mystery key to a hotkey | 🗺❓🔑


Pasting plain text

More and more tools allow you to paste plain text however, when you have a program that doesn’t have that option, it’s a life-saver!   Most people would open Notepad, paste it, copy, it, and then paste it.  This of course is both time consuming and you “lose” the original clipboard.  In this video we show how you can tie it to a hotkey, and still have your original formatting!

the Naked Clipboard: Adding a GUI to Paste Plain Text AutoHotkey script


the Naked Clipboard: Adding a GUI to Paste Plain Text AutoHotkey script


📚 What we’re reading


⚡️Productivity tips

A clear routine is one commonality that most highly efficient people share.  Make sure you have a very regular schedule that you follow as best as you possibly can


🤣 A spot of Humor

The IT crowd – Truest moment about tech support


The IT crowd - Truest moment about tech support


 

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.


🗣️ 💭 Quotable quotes

  • Put systems in place that will allow ordinary people to do extraordinary things
  • If you want something done, ask the busiest person you know to do it and stand back!
  • You have just as much time as: Bill Gates, Steve Jobs, Thomas Jefferson & Einstein. It’s all about prioritizing & staying focused

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

 


August 4th, 2022 AutoHotkey Newsletter

Howdy %Name%,

It’s hard to believe but 🅰HKCon is here this Saturday August ❻th starting at 10 EDT❗

AHKCon is your chance to hear from, and talk with, AHK Experts❗  We have talking points for each topic below however we’re really hoping the event is interactive getting questions from you %name%.  If you haven’t signed up yet, you still can by going here.  We will be recording the conference but not live streaming.  Remember all times are in CDT.
Click here to see your converted time.

  • 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 – Programming approach, which to use & 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)
  • 1:30pm-2:30 – Regex/String Manipulation (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

We hope you can make it and are looking forward to your questions❗ If you’d like to hear more about
what to expect, you can watch this video


AHKCon Outline and Signup


Now on with the show…


Avoiding an 🅰HK Disaster

We suspect we’re getting close to 🅰HK V2️ being the default version of AutoHotkey.  If you haven’t developed with V2 yet, now is a wonderful time to add the #Requires directive to “all” of your scripts!  V2 is not backwards compatible and will “break” a lot of your scripts.   Since they should all be v1.1 right now it’s “easy”.  After you start working in V2, it will be much, much harder❗  Watch this video to see what our script does and how to avoid this horrible disaster

Avoid the coming catastrophe 💣 and use this script today!


Avoid the coming catastrophe 💣 and use this script today!

If you’re wanting to make the switch you might try the V1 ➡ V2 converter which works fairly well on simple scripts that don’t have GUIs


Mapping a Mystery Key

Do you have some extra keys on your keyboard but have no idea what they are / how to use them as a HotKey?  In this video explains some things to me that I didn’t know about Virtual keys and Scan Codes (even though I’d worked through this tutorial years ago, Isaias made it much, much easier to understand!

How to map a mystery key to a hotkey | 🗺❓🔑


How to map a mystery key to a hotkey | 🗺❓🔑


Pushing suggested changes back to a GIT repository

If you’re like me you’ve probably downloaded a few things from GIT and made some edits but never tried to push-back your changes to the original GIT repository.  In this video Isaias shows us it isn’t as complicated as you would think.

How to share changes back to a git repository ☁


How to share changes back to a git repository ☁

If you’re using 🆚Code it is far simper as Isaias had demonstrated in our Webinar on 🆚Code


📚 What we’re reading


⚡️Productivity tips

Find yourself forgetting to do things?  Find a way to force yourself to remember something.  For instance, if you need to bring a cake the next day, put your car-keys with the cake and be careful not to pick up your keys w/o picking up the cake.  Don’t grab the keys saying to yourself “okay, I’ll remember to get the cake on my way out”.  Only pick them up together.  I do this for a lot of things around the house.  I’ll leave something in an obvious spot that I can’t miss it and, until I do the action I’m wanting to remember, I force myself not to move the visual cue. Word of warning: Spouses may have a compulsary need to put your cues away…


🤣 A spot of Humor

This is definitely me nearly every morning!  I wake up around 5:00 and think about all the things I could be doing.  Do you %Name%?


Quick Access Popup news

We had a consultation call the other day with a client (thanks Kevin) that had a ton of HotStrings and HotKeys. After our call was over I spent a few minutes introducing him to the best tool I know for saving time: Quick Access Popup and he was estatic to see just how easy it is to use❗ Why aren’t you using this free tool❓


AHK Hero?

We created a private Telegram group for AHK Heroes and are also planning on having “Master classes” that will be exclusively available for AHK Heroes.  And don’t forget you get 25% off our premium courses, consultations, tutoring, done for you project work, etc.  And more…


🗣️ 💭 Quotable quotes

  • What I lack in Skills & Abilities I make up for with Optimism & Determination
  • If you have time to whine then you have time to find solution. Dee Dee Artner
  • The tragedy in life doesn’t lie in not reaching your goal. The tragedy lies in having no goal to reach. — Benjamin E. Mays

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 to support the our wok:
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., Ernestas G.,and Philip L.