Hi,
Is there a way that code in a Livecode Builder (LCB) handler can determine the version number of the parent operating system. In Livecode Script this can be read using a shell command e.g.Unfortunately I can not find a way of achieving the same result in LCB. Any ideas?
Is there a way that code in a Livecode Builder (LCB) handler can determine the version number of the parent operating system. In Livecode Script this can be read using a shell command e.g.
CODE:
function MacOSVersion put "sw_vers" into tCommand put shell(tCommand) into tResult put line 2 of tResult into tOSVersion put the last word of tOSVersion into tOSVersion return tOSVersionend MacOSVersion
Statistics: Posted by Simon Knight — Sat Jul 13, 2024 10:58 am