
Short overview of who I am, my background with Desktop Automation & AutoHotkey
Image showing the Automation Continuum. Robotics Process Automation (RPA) is an amazing field that is growing like crazy! In this lecture I discuss how AutoHotkey fits into the enormous Automation industry.
In this session I talk to things that you can automate with AutoHotkey. In truth, there is little that cannot, with enough effort, be automated. Having said that, I touch on the "big ideas" that can save a ton of time.
In this session I walk through installing the Unicode 32-bit version of AutoHotkey
This session walks through installing AHK Studio.
In this course I utilize the excellent AHK Studio by Maestrith. It's written in AutoHotkey and is for AutoHotkey. You can download it here: https://github.com/maestrith/AHK-Studio/archive/master.zip
I've created over 30 tutorials how to is it which you can see here:https://www.youtube.com/playlist?list=PL3JprvrxlW279vlWADTTlyLH1p800YlCC.
I also discuss SciTE which is an excellent editor for AutoHotkey. Get the program here: http://fincs.ahk4.net/scite4ahk/ and watch tutorials I've done for customizing it here: https://www.youtube.com/playlist?list=PL3JprvrxlW26l5UPLm05D4CeFrHWEKhHJ
AutoHotkey and Notepadd++ which is equally strong which you can get here: https://www.autohotkey.com/boards/viewtopic.php?t=50
Having my taskbar on the right side confuses some people but, trust me, it will make you more efficient and helps see more of your screen. You'll hate it the first couple of days but, after that, you'll love the change!
Finally we start working on your first AutoHotkey script! :)
Before covering too much in programming, there are some important concepts to cover. To start, should you put all of your code in 1 script, or should you put them in multiple? Sadly there is no clear answer however I discuss some of the logic as to why you would choose one over the other.
There are three types of code that get "executed" in AutoHotkey. Directives (which are like settings) and Commands and functions. This session discusses some of the differences between them.
Having problems with your code only working in a specific area? Then you better study-up on the Auto-Execute section. (Basically the top of a script until it runs into a Hotstring, Hotkey, Return, or Label.)
While you may never have issues with this, it can be very confusing when you're first working with AutoHotkey if you have the error but don't understand why.
HotStrings are an AMAZING tool built into AutoHotkey! So amazing my colleague and I (Jackie Sztuk) have a Udemy course on them! In this session I touch on the basics and how powerful they can be.
HotKeys are a great way to "trigger" your script and/or launch a program. They're very, very easy to get the hang of and are super flexible and quick to implement.
One of the things I love about AutoHotkey is that I can adjust the computer to work the way I think. In this session I show how you can remap keys to what you desire.
AutoHotkey has some wonderful built-in tools! Being able to easily select a file/folder is one of them!
Being able to automate clicking a button / GUI / window with the mouse is really, really powerful! Build your own popup blocker!
We've covered quite a bit of topics at this point. I wanted to have a working session combining some of what we've learned so, in this session, I work through various tasks.
Utilizing Variables is really helpful and simple in AutoHotkey. In this session we show how to assign values to a variable. Do some basic math as well as append more text.
As with any programming language, using logic is a core functionality. I cover the basics of using some of the most common elevators.
Tooltips and Splashing text is both fun and useful. Great way to communicate with yourself or with others using your scripts. Notifying people what your script is doing is very helpful and can avoid misuse.
Functions are "the bomb"! If I could get you to spend more time anywhere, it would be in fully working with Functions. They're super powerful and can really simplify your programming and help make your code much more manageable.
Understanding scope in functions is critical to adapting & using them. Pay close attention here and I guarantee you will save yourself hours of frustration later.
Being able to return a value from a function is super easy and really cool!
It's super convenient to be able to set default values for some of your parameters in your custom functions!
Using Includes and Libraries is a great way to keep your code clean and organized. It is also critical to understand how/when to use them and where AutoHotkey will automatically look for functions.
AutoHotkey has a ton of built-in variables (many of which I cover later) but I wanted to point out a few here which help working with the next topic of Writing and Reading text files
Being able to read and write text files is super helpful! AutoHotkey has several built-in ways for doing this but in this session we cover the basics.
Being able to (easily) move / copy files is an amazing functionality. AutoHotkey has some great built-in tools for copying, moving, deleting files and folders.
It truly is amazing how often editing & manipulating text comes up! AutoHotkey has some super-useful functions and commands for manipulating text!
As promised, AutoHotkey has an amazing amount of built-in variables. In this session I walk through some of the most commonly used ones.
I often think of AutoHotkey as the "Swiss Army Knife" for windows! This section covers many of the cool ways you can interact with other programs. (There are a bunch more but too many to cover in this course).
This session shows how to easily determine if a Window exists, and activating it.
Being able to manipulate other programs is awesome! Want to always have a specific program / Window in a certain spot, you can do that with AutoHotkey!
A ton of programs have a "status bar" which helps you understand the status of that program. In this session we walk through how to connect to it and get information.
What do do when things go wrong... Where to start? I give some advice on where to start, what might go wrong and how to get help
Keep learning to work Smarter, not Harder
In this course we learn how to use AutoHotkey. First we learn about Desktop Automation & Robotics Process Automation (RPA). We take our first steps learning how to program in AutoHotkey. This course is for non-programmers that want to learn how to use this free (open source) tool!
Robotics Process Automation is a BOOMING field. Most other tools (UIPath, Automation Anywhere, Blue Prism, etc.) cost $10,000 plus per license while AutoHotkey is free! What's really great about AutoHotkey is that after you write a script, you can share it by right-clicking the script and compiling it. In about 2 seconds you have an executable that will run on most Windows computers (Windows XP, 7, 8 and 10)
This course covers the basics and is designed for non-programmers wanting to automate the mundane with AutoHotkeys
AutoHotkey is an amazing scripting language that can do amazing things! This course begins the journey leaning AutoHotkey. Learning AutoHotkey will reduce the need for time management by making you more productive. AutoHotkey will help you make your computer more personal!
Want to hack windows? AutoHotkey is by far the easiest way to automate your Windows computer. Desktop support experts often leverage AutoHotkey to streamline the onboarding process.
AutoHotkey is more powerful than Windows Powershell, iMacros, and is easier to learn than Visual Basic, AutoIt or JavaScript.
This is a great tool equivalent to xdotool on Linux
AutoHotkey is more standardized than Selenium (Although you can use the two together)
There are some great, and free, Macro Recorders for AutoHotkey. These can help new users automate their Windows comptuers
You can leverage AutoHotkey to send commands to the Windows command line / cmd
Automate Copying / Pasting / Sending Mouse clicks to windows programs
AutoHotkey can be used to automate Excel VBA, MS Word, PowerPoint, Outlook, and perform web scraping with Internet Explorer or Chrome. What's great is you can Automate Excel just like you do with VBA and then send your file out without an Excel Macro.
Easily parse text with Regular Expressions (RegEx) or some of the built-in String parsing functions that AutoHotkey has.
This course is created for people entirely new to desktop automation. There's no previous requirements other than having a Windows computer that you want to hack!
Here's a high-level overview of what you'll learn
Which version of AHK to use
A great AutoHotkey editor / IDE to use
When to have multiple verse single scripts
Understanding the Auto-Execute section
Hotkeys & Hotstrings
Hacking windows programs to remap keys to your preferences
Sending mouse clicks
Assigning values to variables
Evaluating conditions (Using the if command, etc.)
Displaying Splash screens & tool tips to inform users of the scripts progress
Go subs / Subroutines
How to use AutoHotkey functions and create your own!
Using the #Include directive & when you don't need to!
Some of the very cool built-in AutoHotkey variables
How to Activate a window / Check if it exists
Moving, hiding and showing windows
Setting and getting the statusbar
Troubleshooting your scripts / Best practices & tips for what to do when things go wrong