More comments from this IP
Diragor ⸬ 05 April 2018, 16:32 ⸬ Phoenix, US ⸬ Apple
My whole preset is not that interesting, but I do have one super useful button that people might be interested in.

I have several external drives connected to a dock that I use with my MacBook Pro at my desk. When I want to disconnect the laptop and take it away from the desk, it's a pain to eject all of those drives manually, so I made a BTT button that disconnects them all and then opens a Finder window so I can see when it's done (as a separate action following this script).

tell application "Finder" to eject (every disk whose ejectable is true and local volume is true and free space is not equal to 0) :: twitter :: instagram :: facebook :: github