I’ve wandered into a territory I’m unfamiliar with, and I’m hoping someone can help me here. A part of the main script for moving and sizing windows on a second monitor, I want to use the following code:
tell application "Safari"
set secondScreen to frame of item 2 of current application's NSScreen's screens()
end tell
What I get:
secondScreen : (NSConcreteValue) NSRect: {{2560, 360}, {1920, 1080}}
What I want:
secondScreen : {{2560, 360}, {1920, 1080}}
Can anyone help me?