A handy little action to notify you when you can start using BTT keyboard shortcuts after you wake your Mac

Hey y'all,

I couldn't find an appropriate forum to put this tiny helper action so please direct me there if there's somewhere better.

You know how when you open your Macbook (or wake your Mac desktop), you have to wait a few seconds (for me it's about 5-6) before BTT is initialized and you can use its keyboard shortcuts? Well I got fed up of repeatedly hitting shortcuts like a little child until they worked, whilst waiting for BTT to initialize and created an action that shows a nice HUD when BTT is ready.

It's purely a minuscule QoL thing but I hope that someone out there also finds it helpful.

Note that it uses the "After Mac wakes from sleep" trigger, but I've found it to precisely coincide with when BTT starts responding to keyboard shortcuts, and that it is very reliable.

I don't know the best/typical way of sharing actions, so I created both a JSON link and exported the trigger - please see attached file.

Cheers.

JSON import link

show-hud-when-btt-is-ready-after-mac-wakes.bttpreset.bttpreset (3.9 KB)

It should take less than a second for the hud to appear after starting BTT. If that is not the case for you, could you go to Help => Export Basic Debug Logs and send them to me? (andreas@folivora.ai)

Oh really!? Wow. Sure, will do. Can I DM you on this site or do I just drop the logs here?

It seems like you have the restart after sleep option enabled. Do you have a reason for that? This should not be necessary in any standard setup and will cause a lot of delay:

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣀⣤⣶⡿⠿⠛⠛⠛⠛⠛⠛⠻⠿⣶⣦⣄⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣠⣾⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⣷⣦⠀⠀⠀⠀
⠀⠀⠀⢀⣾⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣷⡄⠀⠀
⠀⠀⢀⣾⠏⠀⠀⠀⢠⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⡄⠀
⠀⠀⢸⡿⠀⠀⠀⣰⣿⠛⢿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣷⠀
⠀⠀⣿⡇⠀⠀⣸⡿⠁⠀⠈⠙⠿⠿⣶⣶⣶⣶⣦⣤⣄⣀⠀⠀⠀⠀⢸⣿⠀
⠀⠀⣿⣧⣤⣰⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠙⠻⣷⣄⠀⠀⢸⣿⠀
⠀⠀⢸⣿⠙⢿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠀⠀⠀⠈⣿⡆⠀⣼⡟⠀
⠀⠀⠈⣿⡀⠘⣿⡆⠀⠀⢀⣀⣤⣶⣶⠿⠿⠛⠛⣿⡆⠀⠀⢸⣿⣾⠿⣷⡄
⠀⠀⠀⣿⡇⠀⣿⣧⣴⡾⠟⠛⠉⣁⣠⣤⣶⣶⠿⠿⠿⣷⡆⠸⣿⠁⠀⣿⡇
⠀⠀⠀⣿⡇⠀⠘⠛⠁⠀⠀⠀⠿⠟⠛⠉⢀⣀⣤⣤⣶⣿⡃⠀⠀⠀⣼⡿⠀
⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⣤⣶⡿⠿⠛⠉⠁⣀⣿⡇⠀⢰⣿⠟⠁⠀
⠀⠀⢠⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠁⢀⣠⣴⣾⠿⠿⣿⡄⠀⣾⡏⠀⠀⠀
⠀⠀⣼⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠋⢁⣠⣴⣾⠟⠁⣼⡟⠀⠀⠀⠀
⠀⣸⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣾⠿⠛⠉⠀⢠⣾⠟⠀⠀⠀⠀⠀
⣰⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⡿⠋⠀⠀⣀⣠⣾⠟⠋⠀⠀⠀⠀⠀⠀
⠛⠃⠀⠀⠀⠀⠀⠀⠀⢀⣠⣶⣿⣿⣶⣶⡾⠿⠛⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠻⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

Thanks Andreas.

Andreas, that indeed did the trick. If this forum were a sub[reddit], I would delete the post. Is that what I should do here?

Cheers

Hi Andreas, several times now, I've noticed that after I've unchecked "Restart BTT after wake from sleep", if I revisit it, it is - for some reason - checked again. Has anyone else reported this?

no, are you maybe re-importing or syncing a preset?

(Don't delete posts, keeping them for reference is best)

Not that I'm aware of. It happened within the space of a few minutes whilst the settings UI was up the whole time.