Which version support the directive #AutoHotkey2?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Keyman
Posts: 26
Joined: 14 Nov 2019, 23:31

Which version support the directive #AutoHotkey2?

Post by Keyman » 31 Jan 2023, 19:43

I am trying to AutoHotkey 2 to run script as version 2 code.
Someone suggested me to use directive #AutoHotkey2, and told me there is version supporting it.
Which version support the directive #AutoHotkey2, please?

User avatar
boiler
Posts: 16926
Joined: 21 Dec 2014, 02:44

Re: Which version support the directive #AutoHotkey2?

Post by boiler » 31 Jan 2023, 20:29

There is no directive #AutoHotkey2. That's why you shouldn't use ChatGPT for coding direction. It makes up syntax. Start by looking at the AHK documentation. See #Requires.

Post Reply

Return to “Ask for Help (v2)”