|
CopyToClipBoard |
The command is
useful, if you need to copy the value of some variable to the
clipboard.
The function is good to use together with GetFileContent
function when you need to insert some text into the text field on
the web-form. |
The are two ways to use this function:
- CopyToClipBoard(i); // the function will copy the value of
variable i to the clipboard
- CopyToClipBoard('test'); //the function will copy the text
string to the clipboard
This command will get the content of the file and copy it to the
clipboard:
- CopyToClipBoard(GetFileContent('C:\tmp\somefile.txt'));
|