Skip to main content
Question

Is it possible to use a formula URL button to update a status AND copy information to the user's clipboard?

  • January 28, 2018
  • 0 replies
  • 38 views

I have a status update formula URL button that works well. 

I would like to add an action to it that copies information to the user's clipboard. The info I want to copy is the contents of a text field. 

Is this possible?
This topic has been closed for replies.

  • Registered
  • January 28, 2018
Automated access to the clipboard (both read and write) is considered to be security issue so there is no way to do it via script alone. The standard workaround is to use a utility called zeroclipboard which uses flash:

ZeroClipboard
https://github.com/zeroclipboard/zeroclipboard

Feel free to contact me off-world using the information in my profile if you want to pursue using ZCB with QuickBse:

https://getsatisfaction.com/people/dandiebolt

  • Author
  • Registered
  • January 28, 2018
Makes sense, thanks.

  • Registered
  • January 29, 2018
Updated Answser: You can use the "cut" and "copy" commands without any special permission if you are using them in a short-lived event handler for a user action (for example, a click handler).

Interact with the clipboard
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Interact_with_the_clipboard

Hard to keep up with the the features ...