I have wanted specific items on my clipboard to always be available on my clipboard. I built a small Action that will read a text file on my hard drive and insert the contents onto my clipboard. The downside to this work around is that I need an Action and a file on my HD for every string I would like to have available.
Language: VBScript
Code: Select all
'Author: Austin James
'Date: 7/13/2011
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oFile = oFSO.OpenTextFile("C:\scripts\example.txt",1) 'Yes I should use a constant here.
Clipboard.Value = oFile.ReadAll
oFile.close
Set oFSO = Nothing