用vbs實現將剪切板的unix格式的內容處理成pc格式的代碼
更新時間:2007年10月24日 12:02:28 作者:
處理QQ里復制的文本'復制QQ里的文本到記事本有事可能會有黑框框...(請復制后運行本腳本)
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"
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"
相關文章
SQLids.vbs 0.7(最終版,以后改成gui界面的)
今天搞了個網站,注入點過濾得很變態(tài),工具都不能跑,于是寫了這個東東。2009-10-10
vbs腳本和windows定時任務實現qq消息表情包定時發(fā)送功能
這篇文章主要介紹了vbs腳本和windows定時任務實現qq消息表情包定時發(fā)送,整個過程不用過多的程序運行,我們借助vbs腳本和windows定時任務去實現這一功能,需要的朋友可以參考下2022-01-01
VBS教程:VBScript 基礎-使用循環(huán)語句
VBS教程:VBScript 基礎-使用循環(huán)語句...2006-11-11

