Time Trigger for Touchbar Button


Hey guys,

is there an easy way to set up an time triggered touch bar button?

I want a Group to be automaticly closed after 5 or 10 seconds... so that you don't have to press the close button and end up on the "main page" of the touch bar.

Step by step would be great.

Best regards