svoid dm_onNewRecordingOrWAVOnClipboard(final VF1<File> onFile) { dm_ownResource(vmBus_onMessage('newRecording, onFile)); // currently only reacts to in-OS clipboard copies dm_ownResource(vmBus_onMessage('newClipboardContents, voidfunc(O o) { if (o instanceof S && ewic((S) o, ".wav")) { File f = newFile((S) o); if (isAbsolutePath(f) && f.exists()) callF(onFile, f); } })); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018843 |
| Snippet name: | dm_onNewRecordingOrWAVOnClipboard |
| Eternal ID of this version: | #1018843/4 |
| Text MD5: | 530970b03e270b8c9a897f4b4a394bd0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-14 12:09:17 |
| Source code size: | 422 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 660 / 711 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |