Reading and writing to the clipboard is supported by using IUP.
See: IupClipboard for methods and attributes.
Requires: None
Code
-
clipboard = iup:clipboard() if clipboard.textavailable then strText= clipboard.text else fhMessageBox('Text not found in Clipboard') return end -- Set Text in Clipboard clipboard.text = string.gsub(strText,'find','replace')