The clipboard
module supplies functions for reading from and writing to the clipboard.
Import this module with clipboard = require 'aegisub.clipboard'
.
Synopsis: text = clipboard.get()
Get the current contents of the clipboard as a string.
Returns nil
if the clipboard does not currently contain text or if an error occurs.
Synopsis: clipboard.set(new_text)
Set the clipboard contents to a string. Returns true if the clipboard could be set, and false if an error occurred.
Overview: | Automation Manager • Running macros • Using export filters • Standard macros |
---|---|
Karaoke Templater reference: | Declaring
templates • Execution
order • Modifiers • Inline-variables ($-variables)
Code lines and blocks • Execution envirionment |
Lua API reference: | Registration • Subtitles object • Progress reporting • Dialogs • Misc. APIs |
Lua Modules: | karaskel.lua • util • unicode • cleantags.lua • clipboard • re |
Karaskel concepts: | Style tables • Dialogue line tables • Syllable tables • Inline effects • Furigana |