'clipboard'에 해당되는 글 1건

  1. 2010.04.05 IE클립보드 다루기
Set objIE = CreateObject("InternetExplorer.Application")
Set WshShell = WScript.CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
Set fl = fso.CreateTextFile("QwiEdK.txt",True)
objIE.Navigate("about:blank")
strTemp = objIE.document.parentwindow.clipboardData.GetData("text")
objIE.Quit
fl.Write strTemp
fl.Close
Set WshShell = WScript.CreateObject("WScript.Shell")

WShShell.Run "C:\\Progra~1\\Wiresh~1\\text2pcap.exe QwiEdK.txt output.pcap"
WShShell.Run "del QwiEdK.txt"
WScript.Echo strTemp
Posted by applicationlayer
: