Hacker News new | ask | show | jobs
by Isthatablackgsd 960 days ago
Yea that can happen. I found the best way to do it is baby steps. I asked it to do point a then it will create a simple small script. Then I follow up with how I do point a to point b, then it will start to add or revise the code a bit. Then I do point c and keep adding it. It is better to break down the process and provide it in chucks of what you want it to do, it fare better to provide you something.

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.