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

3
LINES

< > BotCompany Repo | #1006100 // getTextFromClipboard

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (73L/1K).

sS getTextFromClipboard() {
  ret (S) getTransferData(rawClipboardContents(), DataFlavor.stringFlavor);
}

Author comment

Began life as a copy of #1006059

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj

No comments. add comment

Snippet ID: #1006100
Snippet name: getTextFromClipboard
Eternal ID of this version: #1006100/3
Text MD5: 316fa4526b9a046f8572612a3e64c43c
Transpilation MD5: da82e35d811e7b7173fd6403214aeefa
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-29 19:28:25
Source code size: 107 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 567 / 659
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019178 - getFilesFromClipboard
#1025856 - rawClipboardContents (Transferable)