Is there any API MacBook to get clamshell mode?
I want to make a small utility which makes my MacBook to get clamshell mode. Is there any usable API?
Clamshell means 'only external monitor on mode'.
This is the behaviors wha开发者_开发百科t I want.- Both of internal/external monitors on
- Use the utility
- Internal monitor off/externals on.
Call pmset from your code.
精彩评论