Is there a way to generate an AutoHotkeySC.bin from ...

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
newbieforever
Posts: 493
Joined: 24 Aug 2016, 03:34

Is there a way to generate an AutoHotkeySC.bin from ...

20 May 2018, 18:31

Another strange question:

Is there a way to generate an AutoHotkeySC.bin from an AutoHotkey.exe or a CompiledScript.exe?
User avatar
Flipeador
Posts: 1204
Joined: 15 Nov 2014, 21:31
Location: Argentina
Contact:

Re: Is there a way to generate an AutoHotkeySC.bin from ...

20 May 2018, 18:42

CompiledScript.exe is AutoHotkeySC.bin simply renamed.
newbieforever
Posts: 493
Joined: 24 Aug 2016, 03:34

Re: Is there a way to generate an AutoHotkeySC.bin from ...

20 May 2018, 19:09

Flipeador wrote:CompiledScript.exe is AutoHotkeySC.bin simply renamed.
Really? This would mean that a CompiledScript.exe could be renamed to AnAutoHotkeySC.bin and used to compile a script!?
User avatar
Flipeador
Posts: 1204
Joined: 15 Nov 2014, 21:31
Location: Argentina
Contact:

Re: Is there a way to generate an AutoHotkeySC.bin from ...

20 May 2018, 19:24

Yes. I have not tried it, but it should work. If it doesn't, the "problem" is in the compiler.
newbieforever
Posts: 493
Joined: 24 Aug 2016, 03:34

Re: Is there a way to generate an AutoHotkeySC.bin from ...

20 May 2018, 19:29

Thank you very much, Flipeador!

Another question of same kind:

Is there a way to generate an AutoHotkey.exe from a CompiledScript.exe?
User avatar
Flipeador
Posts: 1204
Joined: 15 Nov 2014, 21:31
Location: Argentina
Contact:

Re: Is there a way to generate an AutoHotkeySC.bin from ...

20 May 2018, 20:49

You can include AutoHotkey.exe in your compiled script and then extract it. For this you can use FileInstall or this Ahk2Exe version.
newbieforever
Posts: 493
Joined: 24 Aug 2016, 03:34

Re: Is there a way to generate an AutoHotkeySC.bin from ...

21 May 2018, 02:33

@Flipeador: However, to include a full AutoHotkey.exe would double the file size of CompiledScript.exe.

Just a reflection (of a newbie): I think an AutoHotkeySC.bin (or CompiledScript.exe) contains basically the same "components" as an AutoHotkey.exe. What is the difference in the "content" between these two build configuaration––or, more precisely, which component makes these build configurations behave differently? Is there no way to "convert" AutoHotkeySC.bin to AutoHotkey.exe?
User avatar
Flipeador
Posts: 1204
Joined: 15 Nov 2014, 21:31
Location: Argentina
Contact:

Re: Is there a way to generate an AutoHotkeySC.bin from ...

21 May 2018, 07:59

What is the difference in the "content" between these two build configuaration––or, more precisely, which component makes these build configurations behave differently?
They have several differences, I do not think it is something easy to achieve or worthwhile. The BIN file configuration ignores and changes several pieces of code.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: makdc96, RandomBoy and 180 guests