That's right, the code I sketched is just for data capture – others may know more about LaunchBar actions and their formats and requirements – I haven't looked at them for a long time.
(But the documentation looks good)
Perhaps something to ask about on a LaunchBar forum ?
I remembered that I have another use case that I wanted to setup with this
I wanted a LaunchBar action to just show the first 3 named clipboards (Clipboard 01, Clipboard 02, and Clipboard 03), instead of all of the named clipboards (that I’d use when setting up projects for work).
Would it be much effort to tweak the script for this?
( You may well not have time for this at the moment, but others who find this thread (now or later), might find it very helpful to have a link to (or brief explanation of) the final LB action )
I just have to finish off the action first. I’m still trying to find out how to paste the selected clipboard contents to the front most app (I’ve tried a few variations with the code, but struggling with it at the moment ).
I have 10 named clipboards (Clipboard 1, Clipboard 2, Clipboard 3 etc.) and copy info to the named/numbered clipboards via keyboard shortcuts. Then paste the info somewhere else via keyboard shortcuts.
Because they're named/numbered clipboards it's easy for me the know/keep track of what info is copied to which clipboard.
It works really well for me, I use it all the time.