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

21
LINES

< > BotCompany Repo | #1020778 // Send All Backup Files To Other Machine

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (18200L/133K).

!7

module SendBackups > DynSingleFunction {
  S sendToMachines;
  
  visualize {
    setFunctionName("Send Backups");
    ret centerAndSouthWithMargins(super.visualize(),
      withLabel("Send to machines:", dm_fieldTextField('sendToMachines)));
  }
  
  void doIt enter {
    if (emptyAfterTrim(sendToMachines)) ret;
    dm_action("Sending backup to other machines", r {
      temp dm_tempDisableAllButtons();
      for (S computerID : possibleComputerIDs(javaTokC(sendToMachines))) pcall {
        dm_sendAllBackupFilesToOtherMachine(computerID);
      }
    });
  }
}

Author comment

Began life as a copy of #1020773

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: #1020778
Snippet name: Send All Backup Files To Other Machine
Eternal ID of this version: #1020778/5
Text MD5: 92b1318cd07d6d6393a63574ce34c5ce
Transpilation MD5: a2bbd8146c29c956422d3be386300908
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-02 01:50:56
Source code size: 591 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 289 / 3437
Version history: 4 change(s)
Referenced in: [show references]