dim html set html=createObject("htmlfile") ' ' Read clipboard data into variable: ' clipboardText=html.parentWindow.clipboardData.getData("text") wScript.echo(clipboardText) ' ' Write a text into the clipboard: ' html.parentWindow.clipboardData.setData "text", "hello world" ' set html = nothing
clipboard
. {3050F1C5-98B5-11CF-BB82-00AA00BDCE0B}
.