Obtaining the "active" Desktop/Monitor under OSX?

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Jun 28 11:06:49 EDT 2017


If I execute this

put (the loc of this stack is within -1440,-132,0,768)

on my primary screen, I get false in the message box.

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 28-Jun-17 om 16:59 schreef Paul Dupuis via use-livecode:
> I remember when the multiple Desktop feature was introduced on OSX
> (Yosemite I think?) there was a very active discussion on this email
> list about how to tell what monitor (in a multiple monitor
> configuration) your application was starting up on.
>
> I have tried searching for this but my search keyword choices (or search
> skills) are failing me.
>
> Does anyone remember how to do this? Or can point me to the
> answer/workaround from the discussion?
>
> OR has anything been added to the LiveCode language in 8.x.x+ that lets
> an app tell what monitor it is starting up on? I check the 8.1.4
> Dictionary, but I could not find anything.
>
> The 1st line of the screenrects is the "primary" monitor, which with the
> OSX feature is not necessarily the monitor the app is launching on
> running on (it has its menubar on)
>
> Thank you in advance for any pointers/guidance.
>
>
> _______________________________________________
> 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