I šŸ˜ the TouchBar

If someone has one for Vim or MacVim, Iā€™d be most interested to see it.

@iPersuade Unfortunately, from the user end, the touch bar is limited by what BetterTouchTool offers and what the developer makes available. Iā€™ve never used MacVim but I donā€™t think it would be possible for vim to include that functionality. So, that means only functionality you can create is with Shell/Apple Scripts and Window positioning is possible. Potentially, a kind of home-brewed tmux would be possible. Beyond that maybe key things that are typed often as buttons?

1 Like

Thanks. Thatā€™s helpful. As long as I can make the Esc key persistent, that would solve my biggest concern. Anything beyond that would be gravy.

@iPersuade the Esc key is persistent but harder to feel without looking down at the keyboard first. A lot of people have remapped esc to the caps lock key to get around this.

2 Likes

Just finished making my Global Touch Bar in BTT.
20%20PM

Iā€™ve got space switchers, quick open my Terminal of choice, quick press to play my favorite playlist in iTunes and show the current song playing in iTunes which when pressed skips the song.

2 Likes

Thanks, @dustinknopoff!

1 Like

Great choice in music!

1 Like

Thatā€™s a neat idea with the current song/skip button. I wonder if itā€™s possible to make it an icon only showing the current cover art, to save spaceā€¦looking at BTT it seems possible with a widget, I just canā€™t figure it out yet.

1 Like

@GraemeS Going to try and get it to be the album artwork tomorrow. I imagine it involves the update_touch_bar_widget call seen here

I donā€™t know the best method, but I tried following these notes that are in the Advanced Configuration window for Touchbar widgets:

Blockquote
In the script you can either return a simple string which will then be shown on the widget, or you can return a JSON string like this (must be escaped):
ā€œ{"text":"newTitle",
"icon_data": "base64_icon_data",
"icon_path":"path_to_new_icon",
"background_color": "255,85,100,255"}ā€

I got the title updating, but couldnā€™t get the artwork for some reason, maybe because it wasnā€™t base64? No idea.
I gave up, anyway, as it took me a while to get that far, and then I felt lost!

Iā€™ve added a button to all of my BTT configs on the R end to toggle between the app-specific TouchBar and the BTT global. Hereā€™s the JSON:

(Just realised one can share BTT buttons easily by copying / pasting the JSON - :slight_smile: )

1 Like

@GraemeS I had no idea BetterTouchTool has a forum as well! Found this. Itā€™s exactly what we were looking for. Title, Artist and Album Artwork as icon. It crashed my BTT when doing direct import to BTT but downloading the JSON and opening it worked perfectly.

2 Likes

Has anyone got update_touch_bar_widget working in BTT AppleScript? I would like to dim buttons that arenā€™t active in my Skim touchbar posted at the top of this threat, but the script command doesnā€™t seem to actually work (when called from either BTT or Script Editor). Just posted in BTT forums as well.

Update: the solution was to use ā€œupdate_triggerā€ and escape all the JSON, like so:

	update_trigger "701399EC-B9BF-472D-8A3E-4F9FB5F01F75" json "{\"BTTTriggerConfig\":{\"BTTTouchBarButtonColor\" : \"0,0,0,20\"}}"

43%20PM

I donā€™t use the Touch Bar as much as I once did (see below), but one usage for me is to answer and end calls. When Iā€™m out of the office I can still make calls, using my office phone number, via our VOIP app on my MacBook. If the receptionist calls me, I used to try to quickly switch to the app, find the ā€œanswerā€ button, and click on it. Iā€™ve now set up a Keyboard Maestro macro, mapped to the Touch Bar via BetterTouchTool, to do that for me. I have another I can tap to end calls.

The lack of a separate keyboard with Touch Bar support has significant reduced my Touch Bar usage on my MacBook. The main usage for me on the MacBook was to address ā€œkeyboard shortcut overload.ā€ I would make some buttons so I didnā€™t have to remember new shortcuts. But since I couldnā€™t carry that over to the iMac during the day, I stopped using most of them. One example of that is Markdown bold and italics. I had a button that would take selected text and surround it with the correct Markdown syntax. I eventually just forced myself to learn another keyboard shortcut, though, so I could work the same way on my iMac.

1 Like

Taskpaper

tp
Toggle Sidebar | Move Item Up | Move Item Down | Format as Project | Task | Note | Show Editor Search | Hide Editor Search | Tag @done

This is optimised for organising ā€“ you can keep your right hand on the arrow keys and use your left hand to move items up/down and change their type. You can also use your left pinky to tab and your left pinky and right ring finger on shift to back tab. Sounds awkward but very fluid in practice.

23%20PM

Iā€™m in love with my touch bar now that Iā€™ve added a workflow button to it to save PDF files to DevonThink! Full post here: https://talk.macpowerusers.com/t/devonthink-help/6180/43?u=doty

It has always bothered me that ScanSnap Manager doesnā€™t automatically save when using ā€œscan to folderā€ by hitting the return button. Today, I used BetterTouchTool to map the ā€œsaveā€ button so every time Iā€™m using my ix500 I have a button that pops up on the touchbar that says Save PDF. When Iā€™m scanning a lot of files, itā€™s great not not have to mouse over to the save button and click it. It is close enough to the keyboard that itā€™s almost as good as hitting enter!

4 Likes

posted my Skim preset:

Marco Arment likes to complain. He complains about macOS or iOS bugs, yet Overcast has had a bug with CarPlay since day one. Never been fixed. The touchbar is useful if you actually use it and how well the developer implements the controls.

3 Likes