小編給大家分享一下怎么用vbs實現(xiàn)將剪切板的unix格式內(nèi)容處理成pc格式,希望大家閱讀完這篇文章之后都有所收獲,下面讓我們一起去探討吧!
set ws=createobject("wscript.shell") set fso=createobject("scripting.filesystemobject") Set objIE = CreateObject("InternetExplorer.Application") objIE.Navigate("about:blank") s = objIE.document.parentwindow.clipboardData.GetData("text") objie.quit set file=fso.createtextfile("tmp.txt") file.write s file.close ws.run "cmd /c more tmp.txt>test.txt",0,true fso.deletefile "tmp.txt" ws.run "notepad.exe test.txt"
看完了這篇文章,相信你對“怎么用vbs實現(xiàn)將剪切板的unix格式內(nèi)容處理成pc格式”有了一定的了解,如果想了解更多相關(guān)知識,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,感謝各位的閱讀!