3 ms·
AHK does have string functions. Quick example: http://pastebin.com/09kjNSvP http://pastebin.com/09kjNSvP (pads number with 0s at start so that it is 2 digits)
by SifJar 13y ago
AHK does have string functions. Quick example: http://pastebin.com/09kjNSvP http://pastebin.com/09kjNSvP
(pads number with 0s at start so that it is 2 digits)
As for checking if the PIN was accepted, it'd maybe work to check the window title or something. Chances are it will change once the software is registered. Then you can easily log the current PIN and break the loop.
Not that I support piracy, just thinking of ways to clean up that code a bit.
- SifJar 13y agoAdding to my above, I'd also like to point out that AHK has commands for selecting certain interface elements, which seems like a better solution than hard coding specific locations to click. Just another way to make it a bit cleaner/tidier.