I'm using a few text macros operating on the current selected text by replacing it with something else. I do this by:
Then I work on
text (ususally calling
sed in an Execute shell script action) saving the outcome to a variable
res which I then type out:
So far so good. This works fine if there is a (text) selection. However if this selection is empty the first action waits until it times out then aborts.
I know I can customise Timeout time and Abort behaviour, but what I really want is when there is no selection just a quick setting of the named clipboard to "empty" or something like this.