Can Automator be used to enable Bluetooth when detecting a power source?
My intention:
I would like my MacBook Air's Bluetooth to turn on whenever I connect the macbook to the charger. Also, when I disconnect the charger, I would like the bluetooth to turn off.
If you're wondering, I use my macbook with an external monitor and wireless keyboard and mouse at home and I need it to to have bluetooth on for that. However, when I unplug my macbook from the monitor, I no longer need a bluetooth connection, and to conserve battery life, I have to manually turn off bluetooth each and every time. You may think this is not that much trouble, but the purpose here is to have this done without manually clicking the button.
In Automator, there is a function called "Watch me do". What this does is record what you do and repeat this process whenever necessary. For example: I can click record in Automator and then click the bluetooth button at the top right of the screen and click turn bluetooth on. Automator will record this and if the action is played, it will repeat this process.
Unfortunately, I don't know how to connect this to the action of connecting a power source. Like when I plug in the charger, to have this Automator action repeated.
If anyone knows how to set this up, please help out. It will be greatly appreciated.
Also, does anyone know of a third party application that can do this?
Its relatively a simple process, the question is, has anyone ever thought of creating such an app?