Skip to content

Instantly share code, notes, and snippets.

@toshiyukino
Last active December 29, 2015 17:09
Show Gist options
  • Save toshiyukino/7702360 to your computer and use it in GitHub Desktop.
Save toshiyukino/7702360 to your computer and use it in GitHub Desktop.
wshやvbscriptからクリップボードへデータを入れてみた。
Sub ClipBordTest()
Dim obj
Set obj = CreateObject("htmlfile")
obj.parentWindow.clipboardData.setData "text", "クリップボードに入れてみるよ。"
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment