Show a popup window with the currently selected word in lexicon, notes, online help
The spoon uses hs.urlevent.openURL("dict://" .. text)
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/LookupSelection.spoon.zip
Signature | LookupSelection.logger |
---|---|
Type | Variable |
Description | Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon. |
Source | Source/LookupSelection.spoon/init.lua line 42 |
Signature | LookupSelection:bindHotkeys(mapping) |
---|---|
Type | Method |
Description | Binds hotkeys for LookupSelection |
Parameters |
|
Returns | |
Notes |
|
Source | Source/LookupSelection.spoon/init.lua line 93 |
Signature | LookupSelection:openLexicon() |
---|---|
Type | Method |
Description | Get the current selected text in the frontmost window and display a translation popup with the translation between the specified languages |
Parameters |
|
Returns |
|
Source | Source/LookupSelection.spoon/init.lua line 58 |