Cipheron on 4/11/2025 at 14:32
I got ChatGPT to help make an autoclicker than can match images rather than blindly clicking a pattern.
It's written in Autohotkey and I basically click Ctrl+Shift+F9/F10 to mark out and area on the screen, Ctrl+Shift+F11 while hovering over a point to tell it where to click, and Ctrl+Shift+F12 to store the current image.
It then scans each trigger repeatedly on a loop and if it sees a target image it clicks where it was told to. Been using it with Minecraft, some Mobile games on Bluestacks, and to click through / close adverts automatically. There are some mobile games I've accrued absolutely ridiculous quantities of the credits and unlocked everything in the game now.
-----------------------------------------------------------
Keep in mind this uses external libraries and Autohotkey itself doesn't have any built-in functions to help with this. ChatGPT helped me by telling me the names of the libraries so I could search online for a version compatible with AHK v2 (the language is a revision of the old language).
Part of it, and this is why ChatGPT helped, was using poorly documented Windows DLL calls. There was literally no way I was going to know about them without ChatGPT. Where would I even find a reference for Windows DLL calls that's already adapted for Autohotkey?
Trying to painstakingly stitch some of this stuff together from obscure online Microsoft resources, if I even knew which DLL had the stuff I needed, I'll just come right out and say that wouldn't just be hard, but downright impossible for me to have found those specific things without ChatGPT.
heywood on 4/11/2025 at 19:57
Quote Posted by Cipheron
I got ChatGPT to help make an autoclicker than can match images rather than blindly clicking a pattern.
It's written in Autohotkey and I basically click Ctrl+Shift+F9/F10 to mark out and area on the screen, Ctrl+Shift+F11 while hovering over a point to tell it where to click, and Ctrl+Shift+F12 to store the current image.
It then scans each trigger repeatedly on a loop and if it sees a target image it clicks where it was told to. Been using it with Minecraft, some Mobile games on Bluestacks, and to click through / close adverts automatically. There are some mobile games I've accrued absolutely ridiculous quantities of the credits and unlocked everything in the game now.
-----------------------------------------------------------
Keep in mind this uses external libraries and Autohotkey itself doesn't have any built-in functions to help with this. ChatGPT helped me by telling me the names of the libraries so I could search online for a version compatible with AHK v2 (the language is a revision of the old language).
Part of it, and this is why ChatGPT helped, was using poorly documented Windows DLL calls. There was literally no way I was going to know about them without ChatGPT. Where would I even find a reference for Windows DLL calls that's already adapted for Autohotkey?
Trying to painstakingly stitch some of this stuff together from obscure online Microsoft resources, if I even knew which DLL had the stuff I needed, I'll just come right out and say that wouldn't just be hard, but downright impossible for me to have found those specific things without ChatGPT.
If it's impossible for you to find it, how did ChatGPT find it? Do you suppose it was given Microsoft API documentation that isn't publicly available information?
WingedKagouti on 4/11/2025 at 22:42
Quote Posted by heywood
If it's impossible for you to find it, how did ChatGPT find it? Do you suppose it was given Microsoft API documentation that isn't publicly available information?
Alternatively, the search terms he used didn't give any useful results, but due to the way ChatGPT parses language it was able to translate the question into something useful.
Then again, if one of the LLMs can't find an answer it might just make up something, but if it actually worked then that doesn't seem likely.