Beeftext icon indicating copy to clipboard operation
Beeftext copied to clipboard

Feature Request: Allow vaiables to act on other variables

Open Corey-Keller opened this issue 5 years ago • 1 comments

For example, getting the uppercase of the clipboard contents.

I can do it if I create a keyword "clipcont" containing "#{clipboard}" by doing: #{upper:clipcont}

but there is no way to do it using the clipboard variable directly.

The ideal solution (in my mind) would be to have variables just be combos, so you'd be able to do: #{upper:#{clipboard}} or: #{lower:#{envVar:USERNAME}}

If they were treated as combos you'd have the additional benefit of being able to do #{date} anywhere to get Friday, September 13, 2019 or #{dateTime:yyyy-MM-dd}T#{dateTime.HH.mm.ss} for 2019-09-13T10.13.12

Corey-Keller avatar Sep 13 '19 15:09 Corey-Keller

I know this is a limitation of the current variable system. Alas, this would require quite some development for a decent parser, and I opted to focus on other features.

As you mention, there is a workaround for the issue, by creating intermediate combo (that you can disable).

xmichelo avatar Sep 17 '19 15:09 xmichelo