VBS如何察看或获得剪切板内容的脚本
实现代码如下:Set objHTML=CreateObject("htmlfile")'xmlfile、mhtmlfile都可以 ClipboardText=objHTML.ParentWindow.ClipboardData.GetData("text") MsgBox ClipboardText
实现代码如下:Set objHTML=CreateObject("htmlfile")'xmlfile、mhtmlfile都可以 ClipboardText=objHTML.ParentWindow.ClipboardData.GetData("text") MsgBox ClipboardText