A
A
Artur Masloboev2018-09-22 12:33:04
macOS
Artur Masloboev, 2018-09-22 12:33:04

How to programmatically disable macbook ports?

Is there any way to programmatically disable ports on a macbook? Specifically interested in ports: thunderbolt, hdmi and headphone jack.
Such a desire arose from the fact that: usually my macbook is connected to two displays + a headset, and when I leave and want the computer to go into standby mode, I have to turn off all these ports, in addition to this, turn off the bluetooth and the power cable itself . And if you want to return to work, stick all the ports back.
How to turn on and off the bluetooth when waking up / falling asleep, I have already figured out. I would like to find a way to disable and enable ports.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question