Is this access to the Services Lookup in Dictionary, or something else?
I'd like that as Firefox disables it from the right-click menu in preference to search google! As it is a service it shouldn't be too hard to add ourselves.
BTT will be using NSSpellChecker | Apple Developer Documentation
Came across an issue a little while ago, Which I can repeat here.
In this message, lets say I want to make the word issue
above BOLD,
I would double-click the word and then click the B in the markdown tool bar. Only the BTT options jump in and cover the tool bar! How'd does one cancel the BTT floating menu but leave the word highlighted?
you can close the menu by moving the mouse away from it or by hitting any non-modifier keyboard key
(or you can configure any of BTT's triggers and call the "hide floating menu" action, here an example where double-tapping the right command key would hide the menu)
Thanks Andreas, I shall give that a try.
Hi Andreas,
this feature is certainly useful because surprisingly it also works with Jetbrains's IDEs which are written in Java, and that open up many interesting possbilities.
That say, is it possible to get the text selection without using the trigger (eg maybe through BT variable)?
maybe it could be done by storing the text selection in persisted variable through Text Selection Did Change Trigger develop by the user, but I find that it be useful if BTT can provide such ready-to-use variable out of the box.
No this would work like popclips extension, by highlighting a misspelled word and it would suggest the correct word to replace with or similar words.
Hey Andreas, How to automatically copy the text selection to clipboard instead of selecting the copy action from the menu?
During adressing this lost the non-text-selection menu options, how to retrieve them whithout losing my current menu items?
You can add this little script via the "Run Real Java Script" action before showing the menu in the "Text Selection Did Change Trigger":
async function copySelectedTextToClipboard() {
let BTTTextSelection = await get_string_variable("BTTTextSelection");
await set_clipboard_content({content:BTTTextSelection, format: "NSPasteboardTypeString"});
return `Did copy "${BTTTextSelection}"`;
}
Works perfect, thx!
If I'm not mistaken I lost a menu option under the Floating Menu. Any way to get it back?:
is it maybe in trash? then you can just drag / copy it back
Unfortunately not in the Trashcan
This was the standard no-text-selection menu from the preset, however this wouldn't contain any customizations you might have made.
no-text-selection.bttpreset (57.3 KB)
Otherwise you'd need to restore a backup from before it was deleted (Help => Restore Settings From Backup)
This seems to be lost in the current BTT version 5.271
most likely something changed in the chatgpt app, I'll check soon. I don't think there has been a related change in BTT.
Super exciting feature. I've wanted the functionality but refrained from installing any dedicated app.
Thank you!