Hi All, I run Autoit 3.3.14.1 and SciTE Version 3.5.4 on Windows 10 When running a script @OSVersion returns Win_10, as it should be. However when compiled the script returns Win_81. The compile screen shows it it is using AutoIT 3.3.141. I removed Autoit and SciTE and reinstalled without avail. A "normal" compile (without SciTe) gives the correct result (Win_10). What do I miss ?
Thanks for testing, the result is correct, my assumption was wrong :). Windows 10 replies to this call with MajorVersion = 10 and MinorVersion = 0, which sums up to 0x0A00. Win7 replies with MajorVersion = 6 and MinorVersion = 1, which sums up to 0x0601. Edit: Please re-test with updated function attached, should show the difference under the scenarios you've tested above. Edit-2: Good info on the technical preview and RTM, added to documentation of function :)... ConsoleWrite((0x0A00 > 0