Upcoming Ahk2Exe changes
Re: Upcoming Ahk2Exe changes
I don’t disagree with what is being said, but this is getting a little off topic. :p
Okay, so I think I’ll contact fincs and see what he thinks. Then perhaps, I’ll proceed to fork it under ahkscript/ or autohotkey/
Okay, so I think I’ll contact fincs and see what he thinks. Then perhaps, I’ll proceed to fork it under ahkscript/ or autohotkey/
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Upcoming Ahk2Exe changes
The current source is under Lexikos at present. So you don’t want me to look at merging these changes?
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
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
Re: Upcoming Ahk2Exe changes
@TAC109
Oh you're right! I see you and lexikos have made some changes, great work on the built-in var support!
Go ahead about merging it, it's been a while since I've touched the code.
Also, there might be some pull requests that could be merged, what do you think?
Oh you're right! I see you and lexikos have made some changes, great work on the built-in var support!
Go ahead about merging it, it's been a while since I've touched the code.
Also, there might be some pull requests that could be merged, what do you think?
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Upcoming Ahk2Exe changes
I’ll have my hands full merging the special parameter code! (and learning Git!)
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
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
Re: Upcoming Ahk2Exe changes
@Lexicos I’m looking at updating Ahk2Exe and I see that you have the latest version of the Ahk2Exe Master branch, while fincs has the most up to date of the Edge branch. It would simplify matters for me if you could update your Edge branch to that of fincs. (Sorry, I’m a git newbie so I don’t know if I could achieve this myself.)
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
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
Re: Upcoming Ahk2Exe changes
You can fork one of the two, then make a pull request directly on github. It should merge. if not, you may get have to manually resolve the conflicts...
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Upcoming Ahk2Exe changes
@TAC109 It was up to date locally. git push does not push secondary branches by default. I've pushed it out.
Also, it's no good mentioning Lexicos. He only logs in once every few years.
Also, it's no good mentioning Lexicos. He only logs in once every few years.
Re: Upcoming Ahk2Exe changes
Apologies! And thanks.
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
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
Re: Upcoming Ahk2Exe changes
ahahaha
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Upcoming Ahk2Exe changes
For me as beginner I'm confused about the current state of the AHK2exe. To compile it in one sentence:
When I want to use the directives which are described in the first posting - which version should I use?
And will there be disadvantages for my (really simple) scripts?
Peter
When I want to use the directives which are described in the first posting - which version should I use?
And will there be disadvantages for my (really simple) scripts?
Peter
Peter (AHK Beginner) / Win 10 x64, AHK Version v1.1.33
Re: Upcoming Ahk2Exe changes
Simply use the version that is accompanied with your current AHK installation. This is for a new version that is still in development.
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Upcoming Ahk2Exe changes
Hi Peter,
http://fincs.ahk4.net/files/NewAhk2Exe-preview2a.zip
Regards, Joe
I think that joedf misunderstood your question. You do not want to "use the version that is accompanied with your current AHK installation." In order to use those directives, you want to use the version at the link in the first post of this thread:Peter2 wrote:When I want to use the directives which are described in the first posting - which version should I use?
http://fincs.ahk4.net/files/NewAhk2Exe-preview2a.zip
Probably not. lexikos said, "Some newer features require compiler support and therefore won't work - e.g. #Include variables." So, it's unlikely that your "really simple" scripts will be affected. Then tmplinshi said, "I've been using it for years without any problems."Peter2 wrote:And will there be disadvantages for my (really simple) scripts?
Regards, Joe
Re: Upcoming Ahk2Exe changes
OK, thanks to joedf and joevinograd.
Peter (AHK Beginner) / Win 10 x64, AHK Version v1.1.33
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Upcoming Ahk2Exe changes
Hi guest3456,
Thanks for the tips on Git!
Second, I built a number of AHK scripts that help with dev, such as a script called Freeze.ahk that copies all relevant files from a release (AHK source, NSIS source, installer, Release Notes, User Guide, etc.) to a Freeze folder (with, of course, appropriate version numbers on the files).
Thanks for the tips on Git!
Don't need to google it to know that.guest3456 wrote:google "version control" and learn about why its so essential.
Yep!guest3456 wrote:have you ever fixed a bug before, only to later realize that you've now broken something else
Nope! First, I save many copies along the way with different file names, especially before I begin to code an enhancement or use a language feature or tool that I haven't used before. I just checked my abandoned-deprecated-old folder of my current AHK effort and it has 26 files in it with "before" in the file name, such as TrayLaunch-before reorder submenu.ahk.guest3456 wrote:but the old code is gone and you can no longer restore it to figure out the old functionality?
Second, I built a number of AHK scripts that help with dev, such as a script called Freeze.ahk that copies all relevant files from a release (AHK source, NSIS source, installer, Release Notes, User Guide, etc.) to a Freeze folder (with, of course, appropriate version numbers on the files).
Yes, and the mechanisms mentioned above work fine for it.guest3456 wrote:have you ever wanted to try to add 2 new features simultaneously without breaking each?
I'm sure you're right that all of my methods are replaceable with Git, but I'm pleased with the way things are now. Regards, Joeguest3456 wrote: etc etc. there is a reason everyone is on github.
Re: Upcoming Ahk2Exe changes
@JoeWinograd whoops! My bad. thanks Joe!
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Upcoming Ahk2Exe changes
I have merged the changes made on the Master branch of Ahk2Exe, to this enhanced version.
This post gives more details, including the new download link.
I suggest that further replies to this thread be made there.
Cheers
This post gives more details, including the new download link.
I suggest that further replies to this thread be made there.
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
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
Re: Upcoming Ahk2Exe changes
Just wanted to report...
I tried the new Ahk2Exe. So far working good, only 1 error message.
It seems when I place Ahk2Exe in a "compiler" folder with AutoHotkey.exe (AHK v2-a112) in the root of the dir above, I get an error as it tries to create AutoHotkeySC.bin.
The error:
Edit: If i put it in pretty much any other folder, no error, and AutoHotkeySC.bin is created without a problem.
I tried the new Ahk2Exe. So far working good, only 1 error message.
It seems when I place Ahk2Exe in a "compiler" folder with AutoHotkey.exe (AHK v2-a112) in the root of the dir above, I get an error as it tries to create AutoHotkeySC.bin.
The error:
Code: Select all
---------------------------
___temp.ahk
---------------------------
Error at line 1.
Line Text: % (A_IsUnicode=1) << 8 | (A_PtrSize=8) << 9)
Error: Missing ending "%"
The program will exit.
---------------------------
OK
---------------------------
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Upcoming Ahk2Exe changes
I was thinking that should be removed. There's no reason to have the "default bin"; just determine a default and pre-select it in the DDL.it tries to create AutoHotkeySC.bin
The error is due to the line of code (shown in the error message) that it passes to AutoHotkey.exe to determine what type of binary it is. I'm pretty sure it could be replaced with AHKType().
Re: Upcoming Ahk2Exe changes
@lexikos
I see you’re in the process of making other changes to Ahk2Exe. Do you want me to look at this one?
Cheers
I see you’re in the process of making other changes to Ahk2Exe. Do you want me to look at this one?
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
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
Re: Upcoming Ahk2Exe changes
Yes, please. I wasn't planning to make any further changes myself.