AutoHotkey_L-Docs icon indicating copy to clipboard operation
AutoHotkey_L-Docs copied to clipboard

Update Program.htm

Open Animan8000 opened this issue 2 years ago • 1 comments

Removed the old "formatting" (or whatever to call it) in the old installer file name and updated with the new ones, aside that I added the latest version number in them. I suppose line 173 might be debatable, if that original version implemented the functionality (mentioned on line 172)

Animan8000 avatar Jun 17 '22 13:06 Animan8000

Yes, /E was added in v1.1.09.03. Please add a version note (see "Restart scripts" for an example of formatting).

Lexikos avatar Jun 23 '22 08:06 Lexikos

@Ragnar-F @Lexikos I think there's the opportunity here to use a js or even better yet use css-content to insert the current ahk version where it makes sense.

Something like:

ahk-version::before {
	content: "1.1.34.04";
}
<pre>AutoHotkey_<ahk-version/>_setup.exe /S /D=C:\Program Files\AutoHotkey</pre>

will become something like: AutoHotkey_1.1.34.04_setup.exe /S /D=C:\Program Files\AutoHotkey

or do something similar but js string replacement/insert. Thoughts? Or maybe this is not worth it or perhaps bug-prone?

joedf avatar Aug 24 '22 13:08 joedf

It's not worth it for the few lines. Additionally, the CSS approach might not work with older browsers.

Ragnar-F avatar Aug 24 '22 17:08 Ragnar-F

Agreed. Just a thought.

joedf avatar Aug 24 '22 20:08 joedf

Why does it make any more sense to use the current version?

I honestly don't think this topic was worth the time any of us has already spent on it, but I'm kind of curious.

Lexikos avatar Sep 06 '22 10:09 Lexikos

Arguably, no benefit. As you've said, not really worth it. More of a thought experiment, to have it become the correct version and formatting "automagically": using either a css-content trick or some js-string replacement.

joedf avatar Sep 07 '22 06:09 joedf