VBS如何察看或获得剪切板内容的脚本


  本文标签:VBS,剪切板

复制代码 代码如下:

Set objHTML=CreateObject("htmlfile")  xmlfile、mhtmlfile都可以
ClipboardText=objHTML.ParentWindow.ClipboardData.GetData("text")
MsgBox ClipboardText