Change macOS display arrangement through command line / applescript?
up vote
0
down vote
favorite
I have a 3 display setup at work with the following order (from left to right):
- MB Pro Retina 15" / internal
- Lenovo 23" / external
- Lenovo 23" / external
macOS Version: 10.13.6
Most likely when I reboot, the order is gone and I have to reset it through System Preferences -> Display -> Arrangement
Is there a way to change the arrangement through command-line or applescript?
macos command-line applescript display
add a comment |
up vote
0
down vote
favorite
I have a 3 display setup at work with the following order (from left to right):
- MB Pro Retina 15" / internal
- Lenovo 23" / external
- Lenovo 23" / external
macOS Version: 10.13.6
Most likely when I reboot, the order is gone and I have to reset it through System Preferences -> Display -> Arrangement
Is there a way to change the arrangement through command-line or applescript?
macos command-line applescript display
I believe this is possible to do with AppleScriptObjC/JXA, but as I only have the one display, I've no means of testing.
– CJK
2 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a 3 display setup at work with the following order (from left to right):
- MB Pro Retina 15" / internal
- Lenovo 23" / external
- Lenovo 23" / external
macOS Version: 10.13.6
Most likely when I reboot, the order is gone and I have to reset it through System Preferences -> Display -> Arrangement
Is there a way to change the arrangement through command-line or applescript?
macos command-line applescript display
I have a 3 display setup at work with the following order (from left to right):
- MB Pro Retina 15" / internal
- Lenovo 23" / external
- Lenovo 23" / external
macOS Version: 10.13.6
Most likely when I reboot, the order is gone and I have to reset it through System Preferences -> Display -> Arrangement
Is there a way to change the arrangement through command-line or applescript?
macos command-line applescript display
macos command-line applescript display
edited 3 hours ago
asked 4 hours ago
T. Enz
62
62
I believe this is possible to do with AppleScriptObjC/JXA, but as I only have the one display, I've no means of testing.
– CJK
2 hours ago
add a comment |
I believe this is possible to do with AppleScriptObjC/JXA, but as I only have the one display, I've no means of testing.
– CJK
2 hours ago
I believe this is possible to do with AppleScriptObjC/JXA, but as I only have the one display, I've no means of testing.
– CJK
2 hours ago
I believe this is possible to do with AppleScriptObjC/JXA, but as I only have the one display, I've no means of testing.
– CJK
2 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370613%2fchange-macos-display-arrangement-through-command-line-applescript%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I believe this is possible to do with AppleScriptObjC/JXA, but as I only have the one display, I've no means of testing.
– CJK
2 hours ago