Hi, Does BTT have any action that is roughly equivalent to Keyboard Maestro's "Prompt With List" action? action:Prompt With List [Keyboard Maestro Wiki]
If not, are there any recommendations for the easiest way to achieve something similar in BTT?
Hi, Does BTT have any action that is roughly equivalent to Keyboard Maestro's "Prompt With List" action? action:Prompt With List [Keyboard Maestro Wiki]
If not, are there any recommendations for the easiest way to achieve something similar in BTT?
Depending on what exactly you want to do, a floating menu or a custom menu could be an option.
Both can do similar things to the KM palettes.
Yep, if possible describe a concrete usecase then I can post an example!
My current goal is really just functionality of the KM action: provide a list of options to choose from (with possible key/details functionality), filter the list by typing, choose one more items from the list, and then pass on the key of the selected item to another action.
My first thought was using a floating menu or WebView, but before investing the time to make the logic to read in the list, filter/choose the option, and style it, I thought I'd check to see if I was missing something.
The specific use case currently is:
citekey|Long string of citation details
I think especially filtering will be hard to achieve with floating menus right now.
However I have something that will pretty much do what you want, it's an extension to the "Ask for input (save to variable) action" that will allow to provide a list of items. It should be ready with the next BTT version.
It would be great if you could quickly evaluate whether that is what you need, the UI is already live for the predefined action "Search Menu Bar Status Items", it will be available in a generic, configurable way soon.
That's sounds great! I'll hold off until then.
I just tried that, and that's pretty much exactly the UI I'm looking for.
That will much better than trying to recreate it with a webview.
Great! I'll update here when the generic version is done. Should be sometime this week.
Great. Thanks!
Just out of curiosity. Are you switching from KM to BTT? or why do you want to do it with BTT if you are already doing it with KM?
I have both BTT and KM, and use both for various tasks. For each task, I tend to evaluate which seems to work better. Some times it's just how well each app works for other actions in the workflow.
In this case, the main put off for the KM prompt was actually just having the logo in the prompt window .
There also doesn't appear to be a way to position the prompt window in KM, but I hadn't actually gotten as far as deciding whether that was needed in this case.
@somelinguist What Andreas suggests is certainly the best. However, it occurred to me that you could use the KM function “Trigger Macro by Name” to find / filter certain macros. With the UUID you can also trigger BTT macros. Just a thought
v4.681 alpha adds a first version of this:
It's not yet very configurable and submenus are not yet supported. WIll be improved later this week.
all of them?
Not yet, for this I will need to add some performance improvements, but in general it should be possible
Thanks for the update!
Will there be a way to create the list programmatically? I'm hoping to pass something like one item per line with a key and description, etc, or maybe even just JSON.
Other clever idea I just saw this week: https://menubox.app/docs/shortcut-actions#example
Thanks for the idea. I did do something similar for once for something else, and it worked quite well!
@Andreas_Hegenberg Please take this as information only, not as a wish. The really useful thing about “Trigger Macro by Name” from KM is that all macros are automatically added to the list. You do not have to set up this list manually. However, it is possible to restrict this “list” to certain areas if you wish.