A_OSVersion
should return WIN_8.1
or similar on Windows 8.1 (NT 6.3).A_OSVersion
should return WIN_8.1
or similar on Windows 8.1 (NT 6.3).Smells like a Service Pack to me; it just happens that MS are calling it something else.
If you want it, submit a patch.
I can bump version numbers too - it doesn't prove anything. Perhaps it means nothing more than Microsoft chose not to market it as a Service Pack.
For practical purposes, there is as much benefit to leaving A_OSVersion as WIN_8 as there is to changing it.
Edit: However, I may be wrong in assuming A_OSVersion reports WIN_8 on Windows 8.1...
AFAIK, starting with Windows 8 updates providing new functionalities will be called "New Version" rather than "Service Pack".
Prefer ahkscript.org for the time being.
As a developer who uses AHK at work, i have to agree with fincs.
I can bump version numbers too - it doesn't prove anything. Perhaps it means nothing more than Microsoft chose not to market it as a Service Pack.
For practical purposes, there is as much benefit to leaving A_OSVersion as WIN_8 as there is to changing it.
Edit: However, I may be wrong in assuming A_OSVersion reports WIN_8 on Windows 8.1...
if A_OSVersion = Win_8Now that A_OSVersion will return Win_8.1 I had to modify the above code to this.
IfInString,A_OSVersion,Win_8 OS_Is_A_Variant_Of_Windows_8 = 1 ;then do my if check if OS_Is_A_Variant_Of_Windows_8 = 1 MsgBox Treat this OS as Windows 8
FYI, I changed my mind because of the changes introduced with the recent Windows 8.1 Update.
if (regexreplace(A_OSVersion,"WIN_8\.*")==1) MsgBox Treat this OS as Windows 8
????
thanksif (regexreplace(A_OSVersion,"WIN_8\.*")==1) MsgBox Treat this OS as Windows 8????