Work with clipboard

Copy the text fragment in clipboard and start the program.:

// File: clipboard.w_js (JScript)

 var text = Window.clipboard  // Get text
     Window.AddControl(1,5,0,0,100,100,text);   
     Window.clipboard = "Hello World!"

 // You can run the Notepad and you can paste the text string
'File: clipboard.w_vbs (VBScript)

'Get text
text = Window.clipboard
Window.AddControl 1, 5, 0, 0, 100, 100, text
Window.clipboard("Hello World!") 'Set text

'You can run the Notepad and you can paste the text string
content
The new script host (it is not wscript.exe).
JScript and VBScript are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.