CTRL-V, any way to get it from Action?

We can emulate the CTRL-C from action but not CTRL-V, is there any way via plugins or else?

Where are you hoping to paste the value? Still in the app? Would it be better to just use the set column action?

1 Like

ya but what if I need to get a portion of the text?
when you make Copy action glide will copy the whole text of the field not only the selected portion.
Let say i would be happy to intercept the selected text… but if not at least to paste what is in my CTRL-C

Maybe I’m not understanding what you are trying to do. If text is selectable, then you can long press, or right click to copy and then the same to paste in an entry component for example. I guess I’m not understanding your scenario.

I need to intercept what has been selected to work over it, like add some text in front or at the end.

So you want the user to be able to select any portion of text that they want, but when they paste, then you want to add some more text to it?

ya possibly even without past, Ill past for them, but i guess to intercept the selected text won’t be so easy

hmm, I can’t think of any way to do that. The clipboard is part of the OS and/or the keyboard app, so I think it’s more of a fact that the clipboard is reaching into the app to copy or paste, as opposed to the app reaching into the clipboard. So, I don’t think there is a way for the app to manipulate the clipboard contents.

my hope is that there is a way using the javascript plugin… but as far as i see it doesnt work

I have doubts. I think that would be a huge security risk if that was even possible. If you could access a user’s personal clipboard, then you could potentially access and steal private information if they copied something to their clipboard from another app or website. For that reason, I would be really surprised and concerned if apps could start pulling information out of my clipboard.

I think your best bet would be to have the user copy and paste the text into an entry component, then use a template column to add the additional text that you need. It’s not automatic like you would want, but I think it’s the only option.


You are right, and we are not Ubuntu or Windows that were doing that silently :relaxed:

1 Like