Detecting the active monitor under Mavericks and Yosemite...
Scott Rossi
scott at tactilemedia.com
Tue Nov 25 16:07:23 EST 2014
The theory is:
"In its plural form (screenRects) this function returns a list containing the virtual co-ordinates of all the screens currently attached to the system. The first line is always that of the primary display, and the order of the rest are in an OS-specific order.”
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On Nov 25, 2014, at 9:41 AM, Paul Dupuis <paul at researchware.com> wrote:
> Starting with OSX 10.9 and 10.10, Apple introduced changes to how
> multiple monitors are handled. The menubar appears on all monitors and
> when you drag a window from one monitor to another the menubar for the
> application that window belongs to becomes active on the target monitor.
>
> Question: Does anyone know if there is a way to detect which monitor has
> the active menubar under 10.9 and up? I don't see any obvious dictionary
> entries for detecting this in LC 6.7 or 7.0, but maybe there is a
> non-obvious way.
>
> I believe that from an UI perspective, an application should open new
> windows on the monitor which has the active menu bar for the
> application, but that requires the ability to tell which monitor has the
> currently active menubar.
>
>
> _______________________________________________
> 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