Restart BTT with AppleScript / osascript

Sometimes, when waking from sleep, BTT is not working… it's running, but there's nothing on the TouchBar, and in those instances I have to restart BTT. However, I have a wake-up shell script anyway, so I would like to restart BTT at every wake, just to be sure. So it would be great to have AppleScript support extended for other BTT functions, in this case "Restart", so I can execute osascript -e 'tell application "BetterTouchTool" to restart' at every wake.

Imprint | Privacy Policy