Figuring out if something is on the current screen, or getting the current screen rect

Scott Rossi scott at
Sat Jan 9 19:53:39 EST 2016

I believe the screenRects is the only function that determines if you have
multiple monitors available.  So comparing stack rects or plugging points
from your group rect/s into the globalLoc function would be the way to go.

The screenRect by itself determines the rect of the main monitor.


Scott Rossi
Creative Director
Tactile Media, UX/UI Design

On 1/9/16, 3:55 PM, "use-livecode on behalf of Dr. Hawkins"
<use-livecode-bounces at on behalf of dochawk at>

>As I look through screenLoc, screenRect(s), etc., I'm not seeing *any* way
>to figure out which screen an object is on, short of manually comparing
>elements of its rect to the various bits of screensRects.
>In particular, I want to know if another stack (or group) that I set the
>position of will actually fit onto the current screen, or if I need to
>Any ideas?
>Dr. Richard E. Hawkins, Esq.
>(702) 508-8462
>use-livecode mailing list
>use-livecode at
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:

More information about the Use-livecode mailing list