Order of button on Touch Bar

Describe the bug
I am creating my preset for my Touch Bar on my MacBook Pro. I have some button created for Safari and some specifically for Google Docs. Problem is, my buttons are all mixed up between the general button for Safari and those for Google Docs

Screen shots
What it looks like with Safari

What it looks like on Google Docs

What it should look like

Device information

  • Type of Mac: MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
  • macOS version: Beta version 10.14 (18A37e)
  • BetterTouchTool version: 2.645

My configurations
My configuration for Safari

My configuration for Google Docs ("Conditional activation group" that check if the title of the window contains "Google Docs" (not perfect, but it works))

Currently the order of the buttons in such a case is defined by the order they are added.
Unfortunately at the moment there is no UI to edit this order.

You could export your preset as JSON, open it in a text editor and edit the BTTOrder property.
Alternatively you could just copy the json for the problematic app (Safari) by selecting Safri in the side bar and pressing cmd+shift+c, then edit the clipboard content in a texteditor, delete your original Safari setup and paste the edited one (cmd+v)

1 Like

Thank you for your response! Unfortunately, it doesn't seem to work. I exported my "Google Docs" preset and edited the BTTOrder property so it would be higher than any of those in "Safari", but when I paste them back in BTT, the order goes back to its original value.

For example:

  • BTTOrder of "Back (<)" : 0 (in Safari)
  • BTTOrder of "Bold (B)": 0 (in Google Docs)
  • BTTOrder of "Forward (>)": 1 (in Safari)
  • BTTOrder of "Italic (i )": 1 (in Google Docs)
  • And so on, and so on

I tried to edit "Bold (B)" so its BTTOrder would be 30, "Italic (i )" to 31, etc... but it simply came back to 0 and 1.

The new version has a "Display Order" field for Touch Bar items where you can enter a number. The lower numbers will be shown first.

1 Like

Hi, I know this is an old post, but would you mind sharing your Google Docs setup? I am trying to figure out how to do something similar!