tags:

views:

106

answers:

1

I want to make a small utility which makes my MacBook to get clamshell mode. Is there any usable API?

---(edit)---

I'm afraid of the term 'clamshell' may send wrong meaning. I used it for 'only external monitor on mode'. This is the behaviors what I want.

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

Call pmset from your code.

Thorsten79
Thanks for reply. I read the linked documentation, but I couldn't find about single monitor off. Maybe I missed the content or my question is unclear.I modified the question to clarify the problem. If I missed the content, could you help me know the point?
Eonil