sixxDisplayPlacer by automator

Published by onesixx on

여러대의 외부모니터를 맥북에서 사용할때, 이전에 가끔씩 화면순서나 배치를 잊어버려서 다시 세팅해야 할 때가 있다.
특히, horisontal세팅을 기억하지 못하면 재설정하는데 여간 귀찮은 게 아니다.
그래서, displaypacer를 활용하여 Monitor 상태 기억하는 스크립를 만들고, automator의 action에 MacBook Pro의 Touch Bar를 연결해서 사용하고 있다.

displayplacer 스크립트 얻기

https://github.com/jakehilborn/displayplacer
http://radarearth.com/content/automate-terminal-automator
https://www.computerworld.com/article/3299299/mojave-how-to-make-automator-shortcuts-for-mbp-touch-bar.html
~|➜  brew tap jakehilborn/jakehilborn && brew install displayplacer
~|➜  displayplacer list
displayplacer "id:B7E0C94A-5399-1757-6E30-661906FDDF76 res:1680x1050 color_depth:8 scaling:on origin:(0,0) degree:0" "id:05B5A010-1815-9529-D2BD-B8A6B9675E07 res:1080x1920 hz:30 color_depth:8 scaling:on origin:(-1080,-1080) degree:90" "id:73F3A78F-4425-8331-A46B-2B2B87FB4EAA res:1920x1080 hz:30 color_depth:8 scaling:on origin:(0,-1080) degree:0"

Automator workflow 만들기

Automator> New document > Quick Action >
Library: Utilities
Action: Run AppleScript
Workflow receives current : No Input

~/Library/Services/ 폴더 아래 저장된다.

Touch Bar에 Automate Action 연결하기

Preferences > Extensions

ShortCut으로 만들고 싶을때

Preferences > Keyboards

Categories: Tool-SW

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x