How can i convert my autohotkey.exe file back to .ahk file?
autohotkey.com/net Site Manager
Contact me by email (polyethene at autohotkey.net) or message tidbit
i just remember something, i may have put N/A to the boxes to prevent decompiling, is there any way to decompile
Autohotkey doesn't compile scripts - simplified, a compiled ahk script is only the interpreter exe (authotkey.exe -> autohotkey.bin) with the atached ahk source. The Source can be encrypted and so on...
BUT: The important thing is, that the ahk source (decrypted) is nessecary for the execution of an compiled script. So, before the script can start, the source (at least the first code line, if it's done line by line) must be decrypted. And that's the point of all these code-protector routines. And if the script is able to decrypt the source, we can do that too. Ok, you must have enought reverse engineering skills...
Also, there is a tool, who can "crack" the protection and decompile any ahk script. But don't ask for it.
If you can verify that you are the owner of this script, and the community gives me the authority to do that, I can try to decompile it for you.
save this script and Exe2ahk.exe somewhere in a folder , make a link to this script
put your example test.exe to desktop, run script, select test.exe >> creates test.ahk
;-- this script in same folder as exe2ahk.exe ---------------- ;-- http://www.autohotkey.com/download/Exe2Ahk.exe --- setworkingdir,%A_scriptdir% searchfolder=%A_desktop% ;-- search from here -- FileSelectFile, F1, 3,%searchfolder%, Please select file ..., AHK exe-files (*.exe) if F1= return SplitPath, F1, name, dir, ext, name_no_ext, drive ifexist,%dir%\%name_no_ext%.ahk msgbox, 262196,EXE2AHK,File %name_no_ext%.ahk already exist`nWant you convert anyway ? ifmsgbox,NO return else run,exe2ahk.exe "%f1%" return
; <COMPILER: v220.127.116.11> msgbox,hallo return