Show the content of system clipboard
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/ClipShow.spoon.zip
| Signature | ClipShow:openInBrowserWithRef(refstr) |
|---|---|
| Type | Method |
| Description | Open content of the clipboard in default browser with specific refstr. |
| Parameters |
|
| Returns | |
| Source | Source/ClipShow.spoon/init.lua line 267 |
| Signature | ClipShow:openWithCommand(command) |
|---|---|
| Type | Method |
| Description | Open local file with specific command. |
| Parameters |
|
| Returns | |
| Source | Source/ClipShow.spoon/init.lua line 379 |
| Signature | ClipShow:restoreLastSession() |
|---|---|
| Type | Method |
| Description | Restore the lastsession of system clipboard |
| Parameters |
|
| Returns | |
| Source | Source/ClipShow.spoon/init.lua line 340 |
| Signature | ClipShow:saveToFile() |
|---|---|
| Type | Method |
| Description | Save content of current canvas to a file, the default location is |
| Parameters |
|
| Returns | |
| Source | Source/ClipShow.spoon/init.lua line 355 |
| Signature | ClipShow:saveToSession() |
|---|---|
| Type | Method |
| Description | Save clipboard session so we can restore it later |
| Parameters |
|
| Returns | |
| Source | Source/ClipShow.spoon/init.lua line 298 |
| Signature | ClipShow:toggleShow() |
|---|---|
| Type | Method |
| Description | Process the content of system clipboard and show/hide the canvas |
| Parameters |
|
| Returns | |
| Source | Source/ClipShow.spoon/init.lua line 99 |