• Index » 
  • Community » 
  • Tech » 
  • extracting the .ahk from a script that's been packed into a .exe
JoshP
Banned
+176|5681|Notts, UK
Hai, so i got sent an AHK script that's been packed into an .exe . However, the keys are all stupidly assigned, and I'd quite like to remap them - so obviously I need the source code.

1) Is this possible?
2) How do I do it?

karmaz for correct answers, ta
Kmar
Truth is my Bitch
+5,695|6592|132 and Bush

Xbone Stormsurgezz
MysteryJake
Member
+12|6199|California

JoshP wrote:

Hai, so i got sent an AHK script that's been packed into an .exe . However, the keys are all stupidly assigned, and I'd quite like to remap them - so obviously I need the source code.

1) Is this possible?
2) How do I do it?

karmaz for correct answers, ta
Uncompiling an executable is very buggy and is not recommended. Also since AHK is a third party tool and not very mainstream like C/C++ finding a decompiler will be next to impossible. I think your best bet would be to ask around on the AHK forum.
tkoi
Utahraptor!
+148|6139|Texas
Brasso
member
+1,549|6622

anyone wanna write me a code so that Ctrl + Winkey + Alt + the numpad minus key = sleep?  Karma if you do, I've tried and it confuses the hell out of me.
"people in ny have a general idea of how to drive. one of the pedals goes forward the other one prevents you from dying"
tkoi
Utahraptor!
+148|6139|Texas
Assuming by sleep you mean system standby:

Code:

^#!NumpadSub::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
Brasso
member
+1,549|6622

GGF0RCE wrote:

Assuming by sleep you mean system standby:

Code:

^#!NumpadSub::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
that's awesome.  it's like magic.  +1 to you sir.

next, is there any way i can launch games with this?

Last edited by haffeysucks (2009-01-24 19:56:20)

"people in ny have a general idea of how to drive. one of the pedals goes forward the other one prevents you from dying"
tkoi
Utahraptor!
+148|6139|Texas

haffeysucks wrote:

GGF0RCE wrote:

Assuming by sleep you mean system standby:

Code:

^#!NumpadSub::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
that's awesome.  it's like magic.  +1 to you sir.

next, is there any way i can launch games with this?
http://www.autohotkey.com/docs/commands/Run.htm
JoshP
Banned
+176|5681|Notts, UK
Hai, i sorta cheated on this one, I managed to get in touch with the author of the script, and got the source code from him

Thanks for help though
Rod Foxx
Warblgarbl
+78|5975|Perth, Australia

GGF0RCE wrote:

haffeysucks wrote:

GGF0RCE wrote:

Assuming by sleep you mean system standby:

Code:

^#!NumpadSub::DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
that's awesome.  it's like magic.  +1 to you sir.

next, is there any way i can launch games with this?
http://www.autohotkey.com/docs/commands/Run.htm
Couldn't you just use a batch file?
DUnlimited
got any popo lolo intersting?
+1,160|6455|cuntshitlake

Rod Foxx wrote:

GGF0RCE wrote:

haffeysucks wrote:


that's awesome.  it's like magic.  +1 to you sir.

next, is there any way i can launch games with this?
http://www.autohotkey.com/docs/commands/Run.htm
Couldn't you just use a batch file?
Yeah way easier.
main battle tank karthus medikopter 117 megamegapowershot gg
Brasso
member
+1,549|6622

DeathUnlimited wrote:

Rod Foxx wrote:

Couldn't you just use a batch file?
Yeah way easier.
you overestimate me if you think i have any clue how to do that...
"people in ny have a general idea of how to drive. one of the pedals goes forward the other one prevents you from dying"
tkoi
Utahraptor!
+148|6139|Texas
You can't map a hotkey with a batch file...
  • Index » 
  • Community » 
  • Tech » 
  • extracting the .ahk from a script that's been packed into a .exe

Board footer

Privacy Policy - © 2024 Jeff Minard