Display Magic Mouse Battery in Touch bar using BetterTouchTool
问题 I'm using this BetterTouchToll for make my touch bar more interesting, what is very cool. He accept some Apple Scripts for more dynamic, so I start to study this scripts. Now I wanna to display my Magic Mouse Battery on my touch bar, for this I was trying this code, but is not working. if application "Mouse" is running then tell application "Mouse" return (get Battery) end tell end if return "no mouse" My guess is that Mouse is not a application, but don't know what to put in the place 回答1: