Hide everything "autohotkey" from a script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
marypoppins_1
Posts: 95
Joined: 28 Oct 2020, 02:58

Hide everything "autohotkey" from a script

18 Mar 2024, 23:01

Hello. so i am sharing an ahk file with a friend and i want to hide everything ahk about it. i have my file1.ahk and file1.exe and i will compile them into a portable exe. (ahk v1)
1. how do we best hide the ahk code that can be read from a compiled script if you put it in a text editor. (if you can just reference me to some quality yt videos / old posts abt it in ahk v1 it would be great)
2. i want to hide the ahk tray icon (done) but is it possible to change the name of ahk process name in the task manager (and the icon if possible)? is there a way to obfuscate this?

thanks a lot in advance
Rohwedder
Posts: 7659
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Hide everything "autohotkey" from a script

19 Mar 2024, 04:28

Hallo,
(untested) AHK Source Code Encryptor v3.3 By FeiYue
viewtopic.php?t=42494
If your Chinese is as bad as mine, use a website translator.
TAC109
Posts: 1112
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Hide everything "autohotkey" from a script

19 Mar 2024, 15:44

You can try my ScriptGuard, link is in my signature.

You can change the compiled program's icons by using the compiler directives AddResource and SetMainIcon.

Edit: Also compressing the compiled script with UPX or Mpress will further obscure the code.

Cheers
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
marypoppins_1
Posts: 95
Joined: 28 Oct 2020, 02:58

Re: Hide everything "autohotkey" from a script

22 Mar 2024, 03:48

sorry for the late reply but thank you both. have a great day

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: erann, Playa 01, rubeusmalfoy and 240 guests