Custom search engine

Is it possible in BTT to create a search field with custom search engines? For example, I would enter “g something”, “w something”, or “a something”, and based on the first letter, the “something” part would be sent to Google, Wikipedia, or Amazon.

I know that browsers have these features built in. I could probably also create an Apple Shortcut that works the same way. But in BTT I would like more control, such as the ability to open the URL in a non-default application, etc.

I like the user interface of the “Choose Action From List / Prompt” function, but it probably won’t work for this.

Here.

You’ll likely want to either have the search Action-sequences get the string from the clipboard, or copy selected text and then use the clipboard.

Actually you can use this interface. Here is an example. It makes use of the "Use First Word To Filter & Save Rest Of Input To Variable BTTPromptInput"

NOTE unfortunately something recent must have introduced a little timing issue for this function, which is why this example requires BTT 6.037 to work (uploading now).

search.bttpreset (1.9 MB)

( this preset imports a keyboard shortcut cmt+opt+ctrl+S that shows the list)

1 Like

Thanks, Andreas. It works the way I imagined. :+1: