Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1026378 // copyTextToClipboardVerbose (returns the argument, prints max. 1000 chars)

JavaX fragment (include)

sS copyTextToClipboardVerbose(O _text) {
  S text = copyTextToClipboard(_text);
  print("Copied to clipboard (" + n2(l(text), "char") + "): " + quote(shorten(text, 1000)));
  ret text;
}

Author comment

Began life as a copy of #1022659

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026378
Snippet name: copyTextToClipboardVerbose (returns the argument, prints max. 1000 chars)
Eternal ID of this version: #1026378/5
Text MD5: 1b6d702a2cadb505b01738efff3e293b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-29 23:24:54
Source code size: 190 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 159
Version history: 4 change(s)
Referenced in: [show references]