Dropdown for Named Triggers

Can we have a dropdown for named triggers where BTT lists all available named triggers? (Show disabled ones as greyed out)

it'd make them way easier to use..

+1
A search field would be also very useful.

I have made it a combo textfield / dropdown in v5.520!

3 Likes

Hi Andreas,

great new feature!

I noticed that I have somehow quite some multiple double entries in my "Named triggers" list, while there are no double ones defined (nor selectable in the new combo dropdown) .
They are probably old entries or so. Is there a way to clean this up ?
Thx,
Christian

do you maybe have that trigger in multiple apps / activation groups? I think that list currently shows across whole BTT - with the only restriction that the preset needs to be enabled.

I'll add a filter to show every trigger only once.

//edit: filter added in 5.521. In case you want to get more details about your named triggers you can run this Java Script For Automation via Script Editor:

let BetterTouchTool = Application('BetterTouchTool');
let allNamedTriggersJSONString = BetterTouchTool.get_triggers({trigger_id: 643});

allNamedTriggersJSONString

Great, that would be very useful for repeated trigger_named in different apps/CAGs :slightly_smiling_face:

Regarding the new dropdown menu, I think it's too small, Could you give it more height?

Now it' showing only 6 triggers:

It would be also possible to filter the drop-down list while we type in the field?

In the previous screenshot i.e., it would be great if after typing "click" the list only shows trigger_named that contains a "click" in the name.

unfortunately the system doesn't allow customizing these combobox dropdowns further, I'm actually not sure how it decides on the height.
I should probably add a custom view to show them.

//edit aah actually I missed the numberOfVisibleItems property :smiley: Will set a high number.

Perfect!

The filtering of the repeated triggernamed in 5,521 works perfectly, any triggernamed is repeated! Thanks!

great V5.522 did it !

Feature request for the context menu of "Named Triggers".
to quickly jump/navigate to the named trigger (in the example: closeEditor) could be useful on the context menu

like so:

yep good idea!

For now I have added these buttons to the sidebar (5.524) - context menu would also be good but it's currently the same menu for any action.

1 Like

Great ! works fine.

Hallo @Andreas_Hegenberg

I noticed that in the new combo dropdown box app specific named triggers are not shown, is that by design ?

Thx,
Christian

I'm having the same issue with the latest alpha release, It's not letting me select some named triggers.

Also yesterday before updating, it wasn't letting me select a names trigger that began with a number 1_simple_left_click until I changed it to a_simple_left_click

Having that list be ordered alphabetically would be a huge plus, I could add a "1_"prefix to triggers I want to surface to the top

Would it be possible to display a list of suggestions as I type?

Also, can the first suggestion be preselected for easy Enter selection?

===========================

Another issue I've noticed: when I have a named trigger selected, and I pick a different one from the action selector, it retains the original text in the field instead of replacing it with the newly selected trigger.