- Ajuda do Scilab
- IGU
- Borders
- Layouts
- uitree
- Editor Interativo
- about
- addmenu
- clipboard
- close
- Console properties
- createWindow
- delmenu
- exportUI
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- getvalue
- loadGui
- messagebox
- printfigure
- printsetupbox
- progressionbar
- root_properties
- saveGui
- setlookandfeel
- setmenu
- toolbar
- toprint
- tree_show
- uicontextmenu
- uicontrol
- uicontrol properties
- uigetcolor
- uigetdir
- uigetfile
- uigetfont
- uimenu
- uimenu properties
- uiputfile
- unsetmenu
- usecanvas
- waitbar
- x_choices
- x_choose
- x_choose_modeless
- x_dialog
- x_matrix
- x_mdialog
clipboard
Copy and paste strings to and from the system clipboard.
Syntax
clipboard("copy",data) str=clipboard("paste") clipboard("do","paste") clipboard("do","copy") clipboard("do","empty") clipboard(winnum,"EMF") clipboard(winnum,"DIB")
Arguments
- data
Scilab variable or data to set as the clipboard contents.
- str
The clipboard contents returned as a Scilab character string.
- winnum
Number of the graphic window to set as the clipboard contents.
Description
clipboard("copy",data)
sets the clipboard contents to
data. If data is not a character array, the clipboard uses sci2exp
to
convert it to a string.
str = clipboard("paste")
returns the current contents of
the clipboard as a string or as an empty string (""), if the current
clipboard contents cannot be converted to a string.
clipboard("do","paste")
,
clipboard("do","copy")
, clipboard("do","empty")
performs a paste, copy or empty clipboard.
clipboard(winnum,"EMF")
copy a graphic window identified by his window's number in the clipboard to EMF format.
clipboard(winnum,"DIB")
copy a graphic window identified by his window's number in the clipboard to DIB format.
Note that clipboard
function works only when Scilab used in window mode.
Comments
Add a comment:
Please login to comment this page.