Sets the clipboard to the text clipText passed.
Parameters:
Name |
Type |
Description |
clipText |
String |
Sets the clipboard to the text clipText passed |
Available in:
WindowMain |
WindowLink |
YES |
NO |
Used in:
XojoScript Name |
GUID |
Copy current SQL Statement from Databox |
2DF5C42C-8BB5-4E65-9C7B-47C05623A707 |
Copy current SQL of LinkedDataBox |
88F7F397-76E8-4921-92A5-158084A7BB63 |
Hint: You can find more references to XojoScripts which make use of this function by sending the following SQL statement to the database:
Select id,GUID, ScriptName,ScriptCode from im_scripts where ScriptCode Like '%SetClipboardText%'
Example XojoScript:
// Copy SQL of Databox to clipboard, from Scripts Menu
Dim sql As String = GetDataBoxSQL
If sql <> "" Then
SetClipboardText(sql)
MsgBox("SQL copied to clipoard!" + EOL + EOL + sql)
End If