[EDIT] Apparently @Nige_S and @ComplexPoint had I conversation while I was writing up the following note. I had only seen up to this comment of @Nige_S's. I've done some more experiments that point to the Apply Style action, but I'll read the rest of the above conversation before I comment further. Out of sequence comment follows:
Thanks @Nige_S,
I thought of that too, after I made the above post. And I haven;t figured out a way to make it work. There seems to be a bit of a Catch-22 that I haven't unravelled.
I can create a temporary or named clipboard for the sytled text that I want to prepend, but when I paste it in place, the act of pasting appears to overwrite what I have in the System Clipboard, so when I then paste that in, I just get a second copy of the previous paste.
If I attempt to copy the System Clipboard somewhere else, to a variable or to another clipboard, using the Copy Clipboard to Clipboard action:
... I still get the text version. I would suggest this is a bug. Copy Clipboard to Clipboard "should" preserve the entirety of the clipboard contents and not lose the "RTF linky goodness". @peternlewis, what do you think? Is this a bug? Maybe there should be a toggle option in the Action to choose text copy or full linky goodness copy.
It appears that the only way I can preserve the copied links, as links, is to keep them in the System Clipboard, do no other Paste actions while holding onto that clipboard, and make no modifications to the System Clipboard other than the Apply Style to Clipboard action.
So one way that I might be able to work around this would be to insert the prepend text first and then load the System Clipboard with my links. But that means switching apps, maybe even switching Desktops if the archive file is already open somewhere else, and I don't know how to restore the context of the original window to be able to grab the links.
IF the archive file is currently closed, I could open it, paste in the date info, close it again, which would hopefully restore the context of the original app, grab the links, then reopen the archive file and paste in the links after the prepend date that I just pasted.
Opening that archive file twice, before and after grabbing the links, is just about as awkward as opening a temporary TextEdit file in which to do the assembly of the link info block to paste into the archive file. I would prefer to not see extraneous windows popping up and closing again, just to be able to grab a complete copy of what I am looking at.
At the moment, I'm still stuck. The Catch-22 described above does not seem to have a simple workaround and yet it seems on the surface to be a simple task.