我已經放在一起的腳本,將我的所需文本複製到我的剪貼板,所以我可以粘貼內容在任何文本字段。VBScript,文本到剪貼板粘貼到任何字段
Dim string
String = "This Is A script that allows me to copy text contained withing these quotes directly into my clipboard. Which yes is plenty fast as it is when compared to finding file, opening file, selecting desired content, copy content, and select location to paste content."
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "cmd.exe /c echo " & String & " | clip", 0, TRUE
所需電流的步驟是
- 運行腳本
- 導航到期望的位置
- 粘貼內容。
我試圖讓這個我可以在需要的位置 1.按Ctrl + Alt + F1(或任何組合)使用熱鍵來獲得文本到剪貼板粘貼
是[這個答案]( http://stackoverflow.com/a/13371767/3898606)到以前的問題,你正在尋找的東西? – 2015-02-24 13:25:09