macbook touchbar

I thought the new touchbar on the MacBook Pros was a gimmick without any real use. Well, one use: https://github.com/avatsaev/touchbar_nyancat

I had assumed Apple would limit the functionality of it. I was wrong (sorta). The app Better Touch Tool, which I am late to, makes it quite useful.

The killer feature is it can run AppleScripts and Shell Scripts. It isn’t just a shortcut for a script, it can run and return the output to the touchbar! Imagine GeekTool, but using your touchbar for interaction. In this way, the MacBook pro’s touchbar is more useful and powerful than an Apple Watch, etc.

I was originally hipped to this as I was looking for a way to display Vox, Spotify or iTunes track info in the otherwise useless touchbar. This cat Luca (who’s site looks very cool), wrote up a quick how-to and provides a simple AppleScript that can be used for all audio apps:

https://lucatnt.com/2017/02/display-the-currently-playing-track-in-itunesspotify-on-the-touch-bar/

tBar.png

I use VOX a lot on my Mac to listen to 24bit FLAC files. I modified Luca’s script to use VOX’s AppleScript dictionary:

After some more digging, I found this oft-cited Medium post by Alex Wolkov, which is awesome and perhaps the only thing you need to read to get up to speed:

View story at Medium.com

I still say if you can get the 13″ with the new form factor, but without the touchbar, you should. It is much cheaper and has a noticeably larger battery (54.5 vs. 49.2 Watt Hours). If you can live with integrated graphics the 13″ is WAY better than the 15″.

I had the 2016 version of the touchbar-less 13″ pro. I had switched to that 13″ from the 15″ with touchbar (2016) because the 15″ battery life was a total joke (2-3 hrs in practice). The 13″ sans-touchbar gets 8-10 hours in practice. I now have a 2017 13″ with touchbar (wanted the faster CPU) and its battery life is decent too, but you will get an extra hour or so without the touchbar (and save some $$$).

Related Reading:
Better Touch Tool:
https://www.boastr.net/downloads/

Github Discussion of Media Scripts:
https://github.com/fifafu/BetterTouchTool/issues/308

GeekTool:
https://www.tynsoe.org/v2/geektool/

GeekTool Scripts:
http://www.macosxtips.co.uk/geeklets/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s