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.
Code: Select all
'Author: Austin James
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
Set oFSO = Nothing