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

7
LINES

< > BotCompany Repo | #1022922 // onClipboardFile

JavaX fragment (include)

static AutoCloseable onClipboardFile(final VF1<File> f) {
  ret vmBus_onMessage('newClipboardContents, voidfunc(fO o) {
    File file = fileFromClipboard();
    if (file != null)
      callF(f, file);
  });
}

Author comment

Began life as a copy of #1019181

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022922
Snippet name: onClipboardFile
Eternal ID of this version: #1022922/1
Text MD5: 1787f1643f8d578d28521c332dd41ffd
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-14 22:11:14
Source code size: 214 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 177 / 214
Referenced in: [show references]