How does one determine screen resolution with LiveCode?

RM richmondmathewson at gmail.com
Mon May 2 12:23:58 EDT 2016


If either sysemPixelScale or screenPixelScale is anything other than 1
you have a high res monitor.

R.

On 2.05.2016 18:56, David Beck wrote:
> Thanks very much, Scott!
>
>
>> ------------------------------
>>
>> Message: 25
>> Date: Sun, 1 May 2016 13:41:26 -0700
>> From: Scott Rossi <scott at tactilemedia.com>
>> To: How to use LiveCode <use-livecode at lists.runrev.com>
>> Subject: Re: How does one determine screen resolution with LiveCode?
>> Message-ID: <AC6DF5BA-3A6C-4222-948C-1AC897279585 at tactilemedia.com>
>> Content-Type: text/plain;       charset=us-ascii
>>
>> I think you should be able to use the screenPixelScale and/or
>> systemPixelScale.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media UX/UI Design
>>
>>> On May 1, 2016, at 12:12 PM, David Beck <david at rotundasoftware.com>
>> wrote:
>>> Hello,
>>>
>>> Does anybody know of a way to determine if a stack is being displayed on
>> a
>>> high resolution monitor? It seems like there should definitely be a
>>> function for this purpose but I can not find one. Is this even
>>> theoretically possible or is there some contour of the universe that
>> makes
>>> this impossible to know, like the possibility of the stack being
>> displayed
>>> on multiple monitors that have different resolutions?
>>>
>>> For some added context, we need to find a work around the following issue
>>> that only happens on Windows 10, high resolution displays, but without
>>> being able to detect whether or not a display is high resolution, we are
>>> unable to apply a work around correctly.
>>>
>>> http://quality.livecode.com/show_bug.cgi?id=15696
>>>
>>> Thank you very much for any help.
>>>
>>> David Beck
>>> Rotunda Software
>>> _______________________________________________
>>> 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
>>
>>
> _______________________________________________
> 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