| 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 |
| The new script host (it is not wscript.exe). |