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

2019-01-16 05:49:37王旭

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