AutoHotkey (AHK) is a free, open-source macro-creation and automation software for Windows that allows users to automate repetitive tasks. It is driven by a scripting language that was initially aimed at providing keyboard shortcuts, otherwise known as hotkeys, that over time evolved into a full-fledged scripting language.
Working on an API call with a friend and we ran into a very weird error “No mapping for the Unicode character exists in the target multi-byte code page”.
I tried working through it but couldn’t figure it out so I asked Charlie Simmons (Tank from the AutoHotkey forum) to give me a hand. He worked through it after a bit of trial & error.
Turns out there was some sort of “illegal” character in the ResponseText field that the WinHTTP com object could not handle. You can get the script below, or download my updated API syntax writer.
VS Code is an amazing editor / IDE! In this AutoHotkey webinar Isaias showed us how to configure it and walked us through some of the great functionality like debugging and GIT integration. I really love how VS code handles hotkeys. In some ways its very similar to AHK Studio in that you can easily type in the search to bring up the hotkeys and then change any one you want. Get the VS code extensions to adapt the hotkeys to other editors.
You can download the printable file with built in hotkeys here
Some say there’s no such thing as bad press. Well when AutoHotkey gets mentioned as a vehicle for distributing RATs (Remote Access Trojans). In this article they discuss how someone was using FileInstall to alter installed files.
If you have an executable, you can watch this video to see a few approaches below how to decompile your script or read this post on the AHK Forum