Thank you to everyone for the responses.
I hope that LC 10 will "fix" the systemVersion() to return customer
meaningful OS version information, but I recognize that is hard to do
when the OS manufacturers (I am looking at YOU Microsoft and Apple) do
not update their OS APIs to return the same
Or you could execute this windows shell command in the LC shell() function
wmic os get Caption /value
which then would return something like this for example
Caption=Microsoft Windows 11 Enterprise
> Am 13.04.2022 um 20:26 schrieb matthias_livecode_150...@m-r-d.de:
>
> This here would
>
> r
This here would
return the macOS version and would return Windows 10 on version 10 and Windows
11 on version 11
If you also need this for other Windows version you have to extend it a little
bit
switch the platform
case "Win32"
put shell("ver") into tVersion
set the itemdelimiter to "."
if ite
Ups,
not 'version' but 'ver' returns 10.0.xx.x.
In my case 10.0.22581.100
Any value above 22000 is Windows 11, any value below of 22000 is Windows 10.
> Am 13.04.2022 um 20:01 schrieb matthias_livecode_150...@m-r-d.de:
>
> Unfortunately Windows 11 shell command 'version" returns NT 10.0.
Unfortunately Windows 11 shell command 'version" returns NT 10.0.
That's the same value as Windows 10 returns.
> Am 13.04.2022 um 19:40 schrieb Paul Dupuis via use-livecode
> :
>
> On 4/13/2022 11:19 AM, panagiotis m via use-livecode wrote:
>> Hello all,
>>
>> The function systemversion()
On 4/13/2022 11:19 AM, panagiotis m via use-livecode wrote:
Hello all,
The function systemversion() returns 10.16.0 on MacOS Big Sur and above.
This is something we should fix.
As a workaround, until this is fixed, you can use this to get the system
version on MacOS:
function mySystemVersion
Hello all,
The function systemversion() returns 10.16.0 on MacOS Big Sur and above.
This is something we should fix.
As a workaround, until this is fixed, you can use this to get the system
version on MacOS:
function mySystemVersion
get shell("sw_vers -productVersion")
return it
end mySyst
NT 10.0
> Am 13.04.2022 um 16:58 schrieb Paul Dupuis via use-livecode
> :
>
> Can someone on Windows 11 with either (or both) LC 9.6.6 and 9.6.7 execute
>
> put systemVersion()
>
> and tell me what is reported?
>
> ___
> use-livecode mailing list
>
Hi Paul,
> Am 13.04.2022 um 17:03 schrieb Paul Dupuis via use-livecode
> :
>
> On 4/13/2022 10:58 AM, Paul Dupuis via use-livecode wrote:
>> Can someone on Windows 11 with either (or both) LC 9.6.6 and 9.6.7 execute
>>
>> put systemVersion()
>> and tell me what is reported?
>
> I would also be
On 4/13/2022 10:58 AM, Paul Dupuis via use-livecode wrote:
Can someone on Windows 11 with either (or both) LC 9.6.6 and 9.6.7
execute
put systemVersion()
and tell me what is reported?
I would also be really helpful to know exactly what
put systemVersion()
returns on macOS Monterey for LC
Can someone on Windows 11 with either (or both) LC 9.6.6 and 9.6.7 execute
put systemVersion()
and tell me what is reported?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your su
11 matches
Mail list logo