• Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Intro to DOS & AutoHotkey AutoHotkey FAQ2

AutoHotkey Webinar: AutoHotkey Version 2 – What to look out for when switching to V2

In this webinar we explore some of the main differences in AutoHotkey version 2, Why you might adapt it, and a tool to help automate the adaption

Special thanks to Dimitri Geerts for leading the discussion, putting together the deck, and working on the converter tool!

Video Hour 1: High-level overview
Video Hour 2: Q&A:

  • Major differences withAHK Version 2
  • You can read up on the official listing of changes
  • v2.0 beta 1was released in July 2021 and future releases are expected to be backward-compatible!  If you want to learn more, check out the v2 forum posts:
  • Take a look at the tool Dimitri demonstrated to adapt V1 code to V2 here

 

Script Highlight:  RunWith: Use this function to control the bitness of your AutoHotkey script

Sign up for future webinars here

See past AutoHotkey webinars 

You can get the Deck Dimitri presented here, or just look through the below images.

1) All parameters are expressions, not text

1 Paramaters are expressions 1

2) Variables need to be declared

2 Variables need to be declared

3) “All” commands are now also functions

3 All commands are also now functions 1

4) Some functions now return objects

4 Some functions return objects

5) There is now a distinction between properties accessed with . and data (items, array or map elements) accessed with []

5 Distinctions 1

6) Hotkeys and non-autoreplace HotStrings are no longer labels; instead, they (automatically) define a function

6 Hotkeys need braces

7) All byRef variables need to have a “&” before

7 byRef 1

8) Function calls require a space or “(“. Use comma only between parameters

8 Functions require comma

9) GUI and GUI controls are now objects

9 GUIs