Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

Post your working scripts, libraries and tools for AHK v1.1 and older
Mercury233
Posts: 2
Joined: 03 Jan 2015, 03:41

Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

18 Apr 2016, 22:28

Since the old Compile_AHK II thread is outdated, I decide to update it.
Thanks to denick, ladiko, flashkid, ruespe, darklight_tr.

> Downloads <

Setup:
+ Compile_AHK_Setup.exe
AHK Source code:
+ https://github.com/mercury233/compile-ahk

> Screenshots <
1.jpg
2.jpg
3.jpg
> Additional features <

+ offers all options of the AutoHotkey compiler (change icon, compression level
+ changing the version information (file properties like company name, product name, product version, file version etc.

> Additional information <

+ What is it good for?
+ How does it work?
+ Explanations of Run Before and Run After?... you can find in the old thread:
https://autohotkey.com/board/topic/1315 ... o-compile/

> Updates <

v0.9.2 (04/19/16)

Compile AHK Changes:
  • Compiled with AutoHotkey_L v1.1.23.5.
    Added zh-cn translation.
    Added back UPX support, remove mpress.
    Updated ResHacker to 4.x.
    Changed language.ini to UTF-8.
    Removed icon 6 and 7 since they don't exist in AutoHotkeySC.bin any more.
    Fixed line feeding when saving ini in script.
    Fixed tooltip.
Setup Changes:
  • Added back UPX, remove mpress.
    GoRC updated to v1.0.1.0.
    ResourceHacker updated to v4.2.5.146.
Best-Code-in-Use
Posts: 184
Joined: 01 Dec 2015, 05:13
Location: Germany

19 Apr 2016, 03:37

Wow that looks pretty cool.
Thanks for your Work.
:D
Greetings Best-Code-in-Use
User avatar
empardopo
Posts: 336
Joined: 06 Oct 2013, 12:50
Location: Spain
Contact:

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

03 Nov 2016, 13:41

@Mercury233, what do you want say with Compiled with AutoHotkey_L v1.1.23.5.? How have you compiled Compile_AHKII?
Thanks in advance.
Everything is possible!
User avatar
MilesAhead
Posts: 232
Joined: 03 Oct 2013, 09:44

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

07 Nov 2016, 14:46

I don't know why I didn't notice this earlier. It's my favorite way to compile AHK scripts. Thanks for the update.
"My plan is to ghostwrite my biography. Then hire another writer to put his
name on it and take the blame."

- MilesAhead
p0p0v
Posts: 4
Joined: 13 Apr 2017, 14:45

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

13 Apr 2017, 14:50

How to work with "Resources" tab?

Cant understand how to use files which i can add to that list..
Diamond
Posts: 1
Joined: 01 Dec 2015, 01:44

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

01 May 2017, 09:22

Thanks for this.

Since it is possible to change the window class of compiled scripts by manually editing AutoHotkeySC.bin, do you think you could add this as a feature?
Haxt0r Baxtor

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

03 Jan 2018, 01:53

sorry, it does work well in windows 10, my mistake was I did not place the files in correct folder
sqlcode
Posts: 27
Joined: 02 Nov 2017, 08:55

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

05 Mar 2018, 11:25

Mercury233,
Is there a way to make this work to bulk compile scripts? I have over 400 scripts used by various people and would like to generate bulk compile to exe.
shadad1

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

20 Aug 2018, 06:56

p0p0v wrote:How to work with "Resources" tab?

Cant understand how to use files which i can add to that list..
sorry if i come late, i want to know the answer also.

where is the resource files saved ? temp folder ? i want to know so i can link my commands to it.
shadad
Posts: 32
Joined: 23 Jun 2018, 05:21

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

21 Aug 2018, 05:18

can anyone please answer on how to use the resource tab? we attach files then how to use it on the script? where its saved? which directory so we can call it to execute from the script ?
[ CJ ]
Posts: 1
Joined: 13 Dec 2016, 18:09

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

19 Sep 2018, 14:13

+1 for understanding of Resources tab.

I can still use FileInstall correctly, as AHK2Exe still runs, and if I don't have my included files in the right spots, it still complains.

So what then does the Resources tab do? How do we reference it ?
SOTE
Posts: 1426
Joined: 15 Jun 2015, 06:21

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

29 Sep 2018, 03:26

Now that UPX is back (https://upx.github.io/), has anybody used Compile_AHK II (https://github.com/mercury233/compile-ahk) to compile?
As this AHK compiler has the UPX option versus the MPRESS option with the standard AutoHotkey compiler.

Does anybody have an opinion on if UPX is better than MPRESS (to include about security or AV issues) or vice versa?
Afona
Posts: 1
Joined: 17 Jul 2019, 05:03

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

17 Jul 2019, 05:13

Hi, I am new to autohotkey. Yesterday I compiled simple script (rebind of key from keyboard to mouse). I used compiler from link above. Script .exe file was detected by Avira. I run it anyway assuming its normal. After reboot I could not shutdown my PC - it went "locked" state instead. I decided to remove script file and with admin right I got message , that I cannot removed it as its used by XXXXX DESKTOP/ <computername>.
This sound suspicious. Any advice what is and what is not normal behaviour here ?
AHKStudent
Posts: 1472
Joined: 05 May 2018, 12:23

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

17 Jul 2019, 15:33

Afona wrote:
17 Jul 2019, 05:13
Hi, I am new to autohotkey. Yesterday I compiled simple script (rebind of key from keyboard to mouse). I used compiler from link above. Script .exe file was detected by Avira. I run it anyway assuming its normal. After reboot I could not shutdown my PC - it went "locked" state instead. I decided to remove script file and with admin right I got message , that I cannot removed it as its used by XXXXX DESKTOP/ <computername>.
This sound suspicious. Any advice what is and what is not normal behaviour here ?
look here https://www.autohotkey.com/boards/viewtopic.php?f=17&t=62266
LAPIII
Posts: 667
Joined: 01 Aug 2021, 06:01

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

04 Feb 2022, 12:55

I downloaded + Compile_AHK_Setup.exe and when I choose an icon, I get a message that says it doesn't exist.
User avatar
TedStriker
Posts: 8
Joined: 30 May 2014, 13:46

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

23 Apr 2022, 15:31

Recent versions of "ahk2exe.exe" got quite an update, which broke compatibility with Compile_AHK 0.9.2.

edit: Set Script Compiler Directives (version 1.1.33+). See answer from TAC109.
Last edited by TedStriker on 24 Apr 2022, 02:52, edited 1 time in total.

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: Skrell and 117 guests