Any AI tool to write AHK code?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
usser
Posts: 148
Joined: 22 Oct 2014, 13:03

Any AI tool to write AHK code?

Post by usser » 28 Mar 2024, 08:49

Hi

Any AI tool to write AHK code?

Thanks

User avatar
mikeyww
Posts: 28871
Joined: 09 Sep 2014, 18:38

Re: Any AI tool to write AHK code?

Post by mikeyww » 28 Mar 2024, 09:25

Hello,

ChatGPT has been used with variable success, with somewhat more success in v1 than v2. It is simply not especially good at coding AutoHotkey scripts yet, but it may work for some kinds of scripts. For many scripts, ChatGPT slows the coding process because it generates garbage that has to be tested and debugged.

User avatar
kunkel321
Posts: 1293
Joined: 30 Nov 2015, 21:19

Re: Any AI tool to write AHK code?

Post by kunkel321 » 28 Mar 2024, 10:10

My experience is the same as Mike has described. I use ChatGPT. I've only used it to generate v2 code. I've been impressed by its ability to interpret my narrative descriptions of complex needs, and build the logic components needed. It seems to always interject v1 code elements though. If I try to get it to correct its own mistakes it just goes down a rabbit hole of work-arounds, making the code stupidly complex. It's best to just type out a detailed description of a specific (small) task, then take the result and manually debug it to make it work in v2. *Sometimes* that works. Other times the code it gives you is basically useless.
name := "ste(phen|ve) kunkel"

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

Re: Any AI tool to write AHK code?

Post by boiler » 28 Mar 2024, 11:33

Please also note that asking for help with AI-generated code is against the forum rules. You can of course use it as a starting point for yourself, but do not post code generated by ChatGPT and ask the forum to help correct it.

Post Reply

Return to “Ask for Help (v2)”