Size of screen diagonal?

Richmond Mathewson richmondmathewson at gmail.com
Wed Feb 28 12:29:15 EST 2018


I'm not really sure how you would go about this.

For instance: I have a 2006 iMac that uses both its in-built monitor and 
another second one.

System Info tells me that my in-built display is 20.1 inches, but 
nothing about my other one
beyond the fact that it is a VGA display.

However, my Xubuntu machine does report the dimensions of the monitor
connected to it accurately (NEC Corporation 21").

Richmond.

On 28/2/2018 5:51 pm, Peter Reid via use-livecode wrote:
> I'm developing a desktop app for Mac & PC that displays photos of coins. I'd like to display them at real size but I can't find the properties for the current screen (i.e. the one that my app is running on.  I can get the screen colour depth, resolution, scaling factor, etc. but not the physical size on the screen such as "27 inch diagonal" or physical px per inch.
>
> Can anyone tell me how to get this info, either using just LiveCode or via Mac/PC shell/command scripts?
>
> Thanks
>
> Pete
> --
> Peter Reid
> Loughborough, UK
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the Use-livecode mailing list