Warning: session_start(): open(/var/lib/php/sessions/sess_fq6c67boh8dkchbbpencdia60o, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
Watch desktop directory for new files [1015315]

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

8
LINES

< > BotCompany Repo | #1015315 // Watch desktop directory for new files

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (7803L/53K).

!7

p {
  onNewFileInDir(userDesktopDir(), voidfunc(File f) {
    infoBox("New file found: " + f.getName());
  });
  noMainDone("Watching " + userDesktopDir() + ".");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015315
Snippet name: Watch desktop directory for new files
Eternal ID of this version: #1015315/6
Text MD5: 940ce7aa3761d3ddbdd35283463d5fe9
Transpilation MD5: d9013df8aaea168e872521329d388073
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-12 21:34:46
Source code size: 175 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 1043 / 2501
Version history: 5 change(s)
Referenced in: [show references]