Set a value in the Script Clipboard.

Set a value in the Script Clipboard. The Script Clipboard can be used by various script languages.

A copy of the value is stored, not the value itself. If the key already exists, its value is overwritten. A list of the supported data types and corresponding type strings can be found here.

Unless autoDelete is set to 1, the value is never automatically deleted and is persistent for the entire session (even accross several scripting calls).

Name Type Default Description
Return int   0 or ErrorCode
key String or char* - The key
value - - The value
type String or char* "String" The type string for the variable
autoDelete int 1 Wether to automatically delete the value when no more scripts are on the stack.

See Also
get_script_clipboard
clear_script_clipboard
comet.setScriptClipboard

Alphabetic index HTML hierarchy of classes or Java