Upcoming Ahk2Exe changes

Community news and information about new or upcoming versions of AutoHotkey
User avatar
joedf
Posts: 7235
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Upcoming Ahk2Exe changes

09 Apr 2019, 20:05

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/ :+1:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
TAC109
Posts: 354
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe changes

09 Apr 2019, 22:43

The current source is under Lexikos at present. So you don’t want me to look at merging these changes?
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
User avatar
joedf
Posts: 7235
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Upcoming Ahk2Exe changes

10 Apr 2019, 00:32

@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. :+1: :mrgreen:
Also, there might be some pull requests that could be merged, what do you think? :think:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
TAC109
Posts: 354
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe changes

10 Apr 2019, 01:12

joedf wrote:
10 Apr 2019, 00:32
...
Also, there might be some pull requests that could be merged, what do you think?
I’ll have my hands full merging the special parameter code! (and learning Git!)
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
TAC109
Posts: 354
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe changes

22 Apr 2019, 00:29

@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 programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
User avatar
joedf
Posts: 7235
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Upcoming Ahk2Exe changes

22 Apr 2019, 01:33

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...
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
lexikos
Posts: 6586
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Upcoming Ahk2Exe changes

22 Apr 2019, 01:58

@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.
TAC109
Posts: 354
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe changes

22 Apr 2019, 02:11

lexikos wrote:
22 Apr 2019, 01:58
...
Also, it's no good mentioning Lexicos. He only logs in once every few years.
Apologies! And thanks.
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
User avatar
joedf
Posts: 7235
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Upcoming Ahk2Exe changes

22 Apr 2019, 09:07

:roll: ahahaha
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
Peter2
Posts: 243
Joined: 21 Sep 2014, 14:38
Location: CH

Re: Upcoming Ahk2Exe changes

23 Apr 2019, 10:24

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
Peter (AHK Beginner) / Win 7 x64, AHK Version v1.1.22.xx
User avatar
joedf
Posts: 7235
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Upcoming Ahk2Exe changes

23 Apr 2019, 10:29

Simply use the version that is accompanied with your current AHK installation. This is for a new version that is still in development.
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
JoeWinograd
Posts: 1266
Joined: 10 Feb 2014, 20:00

Re: Upcoming Ahk2Exe changes

23 Apr 2019, 11:37

Hi Peter,
Peter2 wrote:When I want to use the directives which are described in the first posting - which version should I use?
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:

http://fincs.ahk4.net/files/NewAhk2Exe-preview2a.zip
Peter2 wrote:And will there be disadvantages for my (really simple) scripts?
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."

Regards, Joe
Peter2
Posts: 243
Joined: 21 Sep 2014, 14:38
Location: CH

Re: Upcoming Ahk2Exe changes

23 Apr 2019, 11:42

OK, thanks to joedf and joevinograd.
Peter (AHK Beginner) / Win 7 x64, AHK Version v1.1.22.xx
User avatar
JoeWinograd
Posts: 1266
Joined: 10 Feb 2014, 20:00

Re: Upcoming Ahk2Exe changes

23 Apr 2019, 13:09

Hi guest3456,
Thanks for the tips on Git!
guest3456 wrote:google "version control" and learn about why its so essential.
Don't need to google it to know that. :)
guest3456 wrote:have you ever fixed a bug before, only to later realize that you've now broken something else
Yep!
guest3456 wrote:but the old code is gone and you can no longer restore it to figure out the old functionality?
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.

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).
guest3456 wrote:have you ever wanted to try to add 2 new features simultaneously without breaking each?
Yes, and the mechanisms mentioned above work fine for it.
guest3456 wrote: etc etc. there is a reason everyone is on github.
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, Joe
User avatar
joedf
Posts: 7235
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Upcoming Ahk2Exe changes

23 Apr 2019, 16:48

@JoeWinograd whoops! My bad. 😬 thanks Joe!
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
TAC109
Posts: 354
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Upcoming Ahk2Exe changes

03 Jun 2019, 23:28

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
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts

Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 5 guests