| View previous topic :: View next topic |
| Author |
Message |
Serenity
Joined: 08 Nov 2004 Posts: 700
|
Posted: Tue Dec 20, 2005 12:02 am Post subject: Decompile (Exe2Ahk) option in Explorer context menu |
|
|
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.
| Code: | 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\"" |
|
|
| Back to top |
|
 |
BluEyedCollegeGuy Guest
|
Posted: Sun Mar 04, 2007 11:33 am Post subject: Regkey |
|
|
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". |
|
| Back to top |
|
 |
AHKnow* Guest
|
Posted: Mon Mar 05, 2007 1:19 am Post subject: |
|
|
This is great.
Should be considered as a possible option in the official AutoHotkey package. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Nov 08, 2007 3:38 pm Post subject: |
|
|
| I passworded my AHK file is there a way to add a password to this? |
|
| Back to top |
|
 |
DHMH Guest
|
Posted: Sat Mar 29, 2008 3:25 pm Post subject: Decompile in context menu WITH password |
|
|
Yes! (my english isnīt good, so donīt worry about it! )
Just create a registry file with this content:
| Code: | 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:
| Code: | InputBox, password, Enter Password, (Leave this field blank if you donīt set a password), hide
runwait, "%A_ScriptDir%\exe2ahk.exe", %1% %password%
ExitApp |
Compile it and rename it to exe2ahk_gui.exe!
Now you can choose from the context menu of an exe file "Decompile (Exe2Ahk)! [/quote] |
|
| Back to top |
|
 |
guest123 Guest
|
Posted: Wed May 07, 2008 12:12 am Post subject: what if |
|
|
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? |
|
| Back to top |
|
 |
|