Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\exefile\shell\decompile] @="Decompile (Exe2Ahk)" [HKEY_CLASSES_ROOT\exefile\shell\decompile\command] @="\"x:\\AutoHotkey\\Exe2Ahk.exe\" \"%1\""
Decompile (Exe2Ahk) option in Explorer context menu
Started by
Serenity
, Dec 19 2005 11:02 PM
12 replies to this topic
Here's a registry key that allows you to decompile an .exe with Exe2Ahk via the Explorer context menu. The key installs at HKEY_CLASSES_ROOT\exefile so it will only show in the menu for .exe files. You will need to download Exe2Ahk and modify the path to the executable in order for this to work.
#1
-
Posted 19 December 2005 - 11:02 PM
"Anything worth doing is worth doing slowly." - Mae West
Thank you very much for the code bit. It works beautifully.
You might want to tell people that the registry key you created will only work on Windows XP or 2000. If they take your code snippet, save it as a .reg file then double click it, the registry is automatically updated. (Change the filepath from x to whatever first).
If you want this code to work on Windows NT, you need to change the code "Windows Registry Editor Version 5.00" to "REGEDIT4".
You might want to tell people that the registry key you created will only work on Windows XP or 2000. If they take your code snippet, save it as a .reg file then double click it, the registry is automatically updated. (Change the filepath from x to whatever first).
If you want this code to work on Windows NT, you need to change the code "Windows Registry Editor Version 5.00" to "REGEDIT4".
#2
-
Posted 04 March 2007 - 10:33 AM
This is great.
Should be considered as a possible option in the official AutoHotkey package.
Should be considered as a possible option in the official AutoHotkey package.
#3
-
Posted 05 March 2007 - 12:19 AM
I passworded my AHK file is there a way to add a password to this?
#4
-
Posted 08 November 2007 - 02:38 PM
Yes! (my english isn´t good, so don´t worry about it! )
Just create a registry file with this content:
Import it.
Now create another new file (an ahk script!!!) with this content:
Now you can choose from the context menu of an exe file "Decompile (Exe2Ahk)! [/quote]
Just create a registry file with this content:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\exefile\shell\decompile] @="Decompile (Exe2Ahk)" [HKEY_CLASSES_ROOT\exefile\shell\decompile\command] @="\"c:\\Program Files\\AutoHotkey\\Exe2Ahk_gui.exe\" \"%1\""
Import it.
Now create another new file (an ahk script!!!) with this content:
InputBox, password, Enter Password, (Leave this field blank if you don´t set a password), hide runwait, "%A_ScriptDir%\exe2ahk.exe", %1% %password% ExitAppCompile it and rename it to exe2ahk_gui.exe!
Now you can choose from the context menu of an exe file "Decompile (Exe2Ahk)! [/quote]
#5
-
Posted 29 March 2008 - 02:25 PM
I receive a windoze "access is denied" error every time I try to use this decompile tool, even on non password protected .exes created by myself?
I really need to get this to work, a guy who used to work for our company created a very useful AHK macro with a GUI over several weeks, now we need to make minor alterations to it and we can't turn it into an AHK!
Say if I cant get this to work I really will need some help making a new macro tool to copy and paste lists of names and dates of birth! It was just copy and paste - tab to next field and repeat, but I have never used AHK until two days ago!
At least the "steal GUI" tool worked for me, now I just have to assign commands to buttons...somehow. Unless I can get decompile to work.
Sorry for going off topic....help?
I really need to get this to work, a guy who used to work for our company created a very useful AHK macro with a GUI over several weeks, now we need to make minor alterations to it and we can't turn it into an AHK!
Say if I cant get this to work I really will need some help making a new macro tool to copy and paste lists of names and dates of birth! It was just copy and paste - tab to next field and repeat, but I have never used AHK until two days ago!
At least the "steal GUI" tool worked for me, now I just have to assign commands to buttons...somehow. Unless I can get decompile to work.
Sorry for going off topic....help?
#6
-
Posted 06 May 2008 - 11:12 PM
Hi.
I would add that if you get the "Access is denied" stuff, this is because the Exe2Ahk.exe file is not in the folder you say it is in the registry.
The cleanest way, I think, is simply to place this file in AutoHotkey folder. If this folder is itself placed in Program Files, you can use this code in the .reg file :
I would add that if you get the "Access is denied" stuff, this is because the Exe2Ahk.exe file is not in the folder you say it is in the registry.
The cleanest way, I think, is simply to place this file in AutoHotkey folder. If this folder is itself placed in Program Files, you can use this code in the .reg file :
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\exefile\shell\decompile] @="Decompile (Exe2Ahk)" [HKEY_CLASSES_ROOT\exefile\shell\decompile\command] @="\"\%ProgramFiles\%\\AutoHotkey\\Exe2Ahk.exe\" \"%1\""(My Program Files folder is not on C: drive.)
#8
-
Posted 24 March 2009 - 05:55 PM
The easy way without reg editing to decompile is:
Run CMD
drag the exe2ahk.exe to the command box to complete the path
hit space bar
drag the exe you wish to decompile to the command box to complete the path
(space then password if one was set)
hit enter.
This creates an .ahk file in the same directoy as the .exe
Hope that helps. (and is right!!)
Run CMD
drag the exe2ahk.exe to the command box to complete the path
hit space bar
drag the exe you wish to decompile to the command box to complete the path
(space then password if one was set)
hit enter.
This creates an .ahk file in the same directoy as the .exe
Hope that helps. (and is right!!)
#9
-
Posted 18 May 2009 - 03:33 PM
the draging into cmd doest work for me, im trying to decompile a file i found on the internet, its not password protected
#10
-
Posted 19 June 2009 - 02:03 AM
I have tweaked it all and this works fully and better:
1. Download this and save it to C:\Program Files\AutoHotKey\exe2ahk.exe
2. Copy this code into notepad:
3. Run reg.reg from your desktop then delete it
4. Copy this code into notepad:
5. Navigate to "C:\program files\autohotkey\"
6. Compile Exe2Ahk_gui.ahk to Exe2Ahk_gui.exe
7. Right click on a compiled .exe script and click decompile. This will decompile it back to an .ahk script
1. Download this and save it to C:\Program Files\AutoHotKey\exe2ahk.exe
2. Copy this code into notepad:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\exefile\shell\decompile] @="Decompile (Exe2Ahk)" [HKEY_CLASSES_ROOT\exefile\shell\decompile\command] @="\"c:\\Program Files\\AutoHotkey\\Exe2Ahk_gui.exe\" \"%1\""Save it as "reg.reg" to your desktop
3. Run reg.reg from your desktop then delete it
4. Copy this code into notepad:
InputBox, password, Enter Password, (Leave this field blank if you didn't set a password), hide runwait, "%A_ScriptDir%\exe2ahk.exe" "%1%" "%password%" ExitAppSave it as "c:\program files\autohotkey\Exe2Ahk_gui.ahk"
5. Navigate to "C:\program files\autohotkey\"
6. Compile Exe2Ahk_gui.ahk to Exe2Ahk_gui.exe
7. Right click on a compiled .exe script and click decompile. This will decompile it back to an .ahk script
#11
-
Posted 27 July 2009 - 01:04 PM
This is very handy tnx!
#12
-
Posted 01 August 2013 - 01:21 AM
- Download link of my scripts on Autohotkey.com 2/10/2015 [DOWNLAND]
- Contact Info: https://github.com/floowsnaake // FloowSnaake(A)gmail.com
- IF you need Help send me a PM,Email or Post on Github
- Quote by tank Posted 29 September 2015 - 06:14 PM
- "Eventually i will find a way to convert the DB back to PHPBB3. but i dont have the bandwidth right now. No one that has tried has had success. It is the Only way i can keep this open is if i could successfully convert it."
Hallo!
In an attempt to decompile a script that I had produced and compiled with an earlier version Of AutoHotKey I have installed both the Classic and Basic versions in directories separate from the current version and used the windows command line with a and attempted to use a command as follows <Exe2AHK, csv_again5_new.exe, CSVnewLV.ahk> but in both cases the response was that OpenExe was invalid.
Could you please offer me assistance to resolve the decompilation process?
Thank you and kind regards PMForkin.
#13
-
Posted 22 February 2014 - 01:37 PM