开发者

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.

  1. Both of internal/external monitors on
  2. Use the utility
  3. Internal monitor off/externals on.


Call pmset from your code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜