Welcome

首页 / 编程脚本 / VBS如何察看或获得剪切板内容的脚本

复制代码 代码如下:
Set objHTML=CreateObject("htmlfile")  "xmlfile、mhtmlfile都可以
ClipboardText=objHTML.ParentWindow.ClipboardData.GetData("text")
MsgBox ClipboardText