Basically I wrote a macro which copies a text to the clipboard and passes it through a series of BBEdit Text Factories which all work fine.
At the end of the macro (show in the ScreenCapture) I write the clipboard to a file which all works flawlessly.
I have a problem with the last step: I want to open that file in Typinator (it works fine with dummy files, Typinator imports it as a Set with abbreviations and expansions which is what I want).
My problem is that I don't know how to write the filename of the file that I want to open in Typinator because the filename in the Write System Clipboard to File Action contains a date time stamp including seconds.
Tom, is there any way that I could add an actin to edit the clipboard to make a few minor corrections instead of editing the actual file later in the macro ? thank you
I would like to look and edit myself visually. It's a simple question of deleting a comma here, adding a tab there. I would be working on the final product after multiple regex. By the way, I personally prefer using the BBEdit Text Factory action rather than the regex search and replace on the clipboard.
thank you for your comment.
You could put it in a named clipboard, rather than the system clipboard. Named clipboards can be directly accessed from the keyboard maestro editor preferences
because I can use their native ready to eat text filters, and because I had some regex which worked with BBEdit and did not with KBM (slight differences in regex I think).