用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界面的)
今天搞了个网站,注入点过滤得很变态,工具都不能跑,于是写了这个东东。2009-10-10
vbs脚本和windows定时任务实现qq消息表情包定时发送功能
这篇文章主要介绍了vbs脚本和windows定时任务实现qq消息表情包定时发送,整个过程不用过多的程序运行,我们借助vbs脚本和windows定时任务去实现这一功能,需要的朋友可以参考下2022-01-01


最新评论