Page 1 of 1

Windows version check

Posted: Tue Jan 24, 2017 3:15 pm
by bsouthuk
Hi guys

I have an application that needs to perform something different if a user is on windows 10.

I have added the following code:

Code: Select all

   put the systemVersion into temp
   answer temp...etc 
I have recently upgraded to windows 10 but according to livecode, it's recognising my version as NT 6.2. 6.2 is actually windows 8 which is what I previously had before upgrading to windows 10.

Is there another way I can script this so livecode recognises the version a user is on accurately?

Re: Windows version check

Posted: Tue Jan 24, 2017 3:23 pm
by LiveCode_Panos
Hi bsouthuk,

This is a known bug, and it will be fixed in LiveCode 9.0 DP-5

http://quality.livecode.com/show_bug.cgi?id=17997

Best,
Panos
--

Re: Windows version check

Posted: Tue Jan 24, 2017 3:25 pm
by Klaus
Hi bsothouk,

You could use a shell command like:
...
put shell("ver")
...
If that is not enough info for you, Google is your friend :D


Best

Klaus

Re: Windows version check

Posted: Tue Jan 24, 2017 3:32 pm
by bsouthuk
Thank you Klaus...works perfectly