开发者

Is there any API MacBook to get clamshell mode?

开发者 https://www.devze.com 2022-12-19 14:02 出处:网络
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\'.

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

精彩评论

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