How to compile .AHK script to .EXE without showing the code in the compiled version? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Cuadrix
Posts: 236
Joined: 07 May 2017, 08:26

How to compile .AHK script to .EXE without showing the code in the compiled version?

12 Aug 2017, 18:26

Pretty much what the title says.
The current version of AHK too EXE compiler provided in the installation does compile the script to exe, however when opening with Notepad and scrolling down, the code is visible.
Is there anyway to somehow hide the code?
TimeHorizon
Posts: 13
Joined: 02 Aug 2017, 17:59

Re: How to compile .AHK script to .EXE without showing the code in the compiled version?

12 Aug 2017, 19:16

It looks encrypted to me. I just tried it. It looks just like the AHK script code?
User avatar
JoeWinograd
Posts: 2200
Joined: 10 Feb 2014, 20:00
Location: U.S. Central Time Zone

Re: How to compile .AHK script to .EXE without showing the code in the compiled version?  Topic is solved

12 Aug 2017, 19:21

Search this forum for "obfuscate" and you'll get plenty of hits. Perhaps one of them will satisfy your requirements. But at the end of the day, the current AHK implementation is an interpretive language. The "compiler" is not really a compiler in the traditional sense of creating true object code that cannot be decompiled. Rather, it bundles the AHK executable with your source code (MPRESS has some value, but there are MPRESS crackers out there). The search here for "obfuscate" will get you to this interesting thread on the subject (among many others):
Decompiling
Regards, Joe

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, Google [Bot], mikeyww and 367 guests