Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use vbs to process the unix format content of the clipboard into pc format

Shulou Source: shulou.com Published: 2022-06-03 08:39:26 11月15日 Update

Editor to share with you how to use vbs to process the clipboard's unix format into pc format. I hope you will get something after reading this article. Let's discuss it together.

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", 0true fso.deletefile "tmp.txt" ws.run "notepad.exe test.txt" has finished reading this article I believe you have a certain understanding of "how to use vbs to process the clipboard unix format content into pc format". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!

Tags: Format content clipping processing articles done more knowledge industry information information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Tech Info OPPO Reno macOS NVidia