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

 更新时间:2008年06月21日 00:02:46   作者:  
用vbs查看剪切板内容的脚本,方法不错
复制代码 代码如下:

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

相关文章

最新评论