I am trying to build an action that pastes a string of predetermined text, and inserts the two most recent BTT clipboard entries into the string.
I am using the "Type custom text" action. I have tried the following:
"Some text (BTT)@clipboard[1](BTT) more text (BTT)@clipboard[2](BTT) more text"
"Some text (BTT)@clipboard:1(BTT) more text (BTT)@clipboard:1(BTT) more text"
In both cases, BTT is reading the [1], [2], :1 and :2 literally. I was hoping one of those attempts would successfully access the items in those two clipboard history positions.
Is there anyway to access items in clipboard history positions other than the first position using the (BTT)@clipboard(BTT) variable?
Currently, I've got it working via an alternate action sequence that goes as follows:
- Type text "Some text"
- Delay 0.25 seconds async
- Paste specific item from clipboard manager: 1 (Plain text)
- Delay 0.25 seconds async
- Type text " more text"
- Delay 0.25 seconds async
- Paste specific item from clipboard manager: 2 (Plain text)
- Delay 0.25 seconds async
- Type text " more text"
However, this action takes a lot more time to complete than it would be simply typing one text string with the BTT variables inserted from the clipboard history.