Shane, OK, thanks for all your help.
Just one more question for now. (:wink)
From the array of screens returned with
set theRects to current application's NSScreen's screens()'s valueForKey:"frame"
is there a way I can identify which screen is the:
- Main, active screen
- Primary (internal) screen?
I know how to get the screen info for these from this thread:
How Do I Get the Bounds (frame) of the Main Display (Screen)?
What I’d like to do is list the screens with frame coord, and indicate which of each is “Main” and “Primary” (or both).
I’ve done a lot of searching on Apples’ dev site for NS stuff, and even opened Xcode and searched there, and I can’t find anything.
I did find this, but it turned out not to be of any help:
This is a dictionary containing the attributes of the receiver’s screen. For the list of keys you can use to retrieve values from the returned dictionary, see Display Device—Descriptions.
I had one hellofa time finding that, and when I did no keys to indicate Main or Primary. Or at least I didn’t see any.
Thanks again for all your help.