What you can do is to prompt the user with the text and ask them to copy it. As such:
prompt("Copy to clipboard: Ctrl+C, Enter", oArg.Document);
Because if you supply a text to the prompt it automatically gets selected. Does this suit you?
What you can do is to prompt the user with the text and ask them to copy it. As such:
prompt("Copy to clipboard: Ctrl+C, Enter", oArg.Document);
Because if you supply a text to the prompt it automatically gets selected. Does this suit you?