Forum Discussion
BrettSchlagel-e
11 years agoCommunity Member
Copy Text Variable to Clipboard
I need some help.
I need users to be able to click a button to copy a text variable to their clipboard, which can then be pasted in a word doc. This doesn't necessarily have to be done through a ...
JacksonHamner
11 years agoCommunity Member
Try this:
var player = GetPlayer();
var text= player.GetVar("copytext");
window.prompt("Copy to clipboard: Ctrl+C, Enter", text);
This should work!
Related Content
- 11 months ago
- 11 months ago
- 11 months ago
- 11 months ago
- 7 months ago