0

I’m looking for a way to apply two different display configurations inside System Preferences > Displays > Arrangement with AppleScript.

First configuration Second configuration

Is this possible? I was thinking about reading and setting values of these two configurations and storing them inside variable, but I don’t know how to get those elements (they’re not standard radio buttons, checkboxes or something familiar).

  • At the moment I'm not where I can do any testing, however have a look at my answer to a similar type question: A: Change display arrangement in OS X programmatically – user3439894 Apr 26 '18 at 10:31
  • @user3439894 yeah, I saw that answer, but I’m looking for something native without using 3rd party application. – niksy Apr 27 '18 at 12:07
  • I do not believe that what you're asking to do is doable with regular AppleScript, maybe with Cocoa-AppleScript/Objective-C. Just curious, what's the issue with using a third-party utility? – user3439894 Apr 27 '18 at 13:59
  • I’m just trying to use as much native functionality as I can. – niksy May 8 '18 at 14:12

You must log in to answer this question.

Browse other questions tagged .