Hello,
Some time ago I have created a nice script with gui window etc, and I compiled it to .exe.
Now I want to created a very similar file, so wanted to copy the script, but I only now have the exe compiled version.
Is there any way of getting the script back (uncompiling the file) as I don't' remember the code!
I would appreciate your help!
Iwona
How to get a script from a compiled file
Started by
hutia
, Aug 15 2012 12:07 PM
7 replies to this topic
#1
Posted 15 August 2012 - 12:07 PM
#2
Guests
Posted 15 August 2012 - 12:36 PM
For AutoHotkey basic there is the script decompiler here <!-- m -->http://www.autohotkey.com/download/<!-- m -->
for AutoHotkey_L have a look in the S&F, Custom section of the forum, you'll find a solution there or simply open the exe in notepad.
(unless you compressed it or tried to password protect etc)
for AutoHotkey_L have a look in the S&F, Custom section of the forum, you'll find a solution there or simply open the exe in notepad.
(unless you compressed it or tried to password protect etc)
#3
Posted 15 August 2012 - 02:29 PM
Thank you.
Unfortunately I tried to open in notepad but it doesn't work, there is a lot of stuff there but not the actual script.
I downloaded the decompiled, but it doesn't work either. What exaclt do I type in cmd, if the script name is:
TK print +save+GUI.exe
?
Unfortunately I tried to open in notepad but it doesn't work, there is a lot of stuff there but not the actual script.
I downloaded the decompiled, but it doesn't work either. What exaclt do I type in cmd, if the script name is:
TK print +save+GUI.exe
?
#4
Guests
Posted 15 August 2012 - 02:32 PM
rename the exe so something easier like a.exe the spaces and + might throwing it off
exe2ahk a.exeshould do it
#5
Posted 15 August 2012 - 02:38 PM
I've just done it, but
"exe2ahk a.exe is not recognised as an internal or external command (...)"
Any other ideas?
"exe2ahk a.exe is not recognised as an internal or external command (...)"
Any other ideas?
#6
Guests
Posted 15 August 2012 - 02:39 PM
place all in the same dir, exe2ahk and a.exe otherwise it won't be able to find it unless exe2ahk is in your path (which is unlikely)
#7
Posted 15 August 2012 - 02:53 PM
I put them in the same folder on U: but still the same error.
#8
Posted 15 August 2012 - 05:17 PM
You have to navigate to that folder too 
E.g.:
E.g.:
u: cd u:\Temp\myexe




