|
|
|
|
|
by Tomte
964 days ago
|
|
> Also, ChatGPT is a big help with AutoHotKey script I've tried that extensively, with no luck. I have some experience with AHK1 and wanted ChatGPT to basically convert scripts to AHK2. It's pretty much a loop: first response gives a syntax error. When I reply with the error message, it apologizes, explains where the error is, and gives another solution. That solution has different errors. When pasting the error message, it apologizes again, and gives a third version with syntax errors. And then it starts with the first version again, and I can repeat the loop. |
|
If it start to get off the rail, I copy the code and close the chat. Then I create a new chat and tell it to use this code as a strict reference. And I tell it what I am trying to do, then it starts to improve the code further.
I found that it is best to give it my snippet of code and it will be able to use it as a template and modify it from there.
For your case, if you want to convert it from ahk1 to ahk2, give it a small section of the script. And it should be able to convert it from there. If that didn't work, then you could start from fresh and tell it of what you want in ahk2 script.