Libraryless. Click here for Pure Java version (18200L/133K).
1 | !7 |
2 | |
3 | module SendBackups > DynSingleFunction {
|
4 | S sendToMachines; |
5 | |
6 | visualize {
|
7 | setFunctionName("Send Backups");
|
8 | ret centerAndSouthWithMargins(super.visualize(), |
9 | withLabel("Send to machines:", dm_fieldTextField('sendToMachines)));
|
10 | } |
11 | |
12 | void doIt enter {
|
13 | if (emptyAfterTrim(sendToMachines)) ret; |
14 | dm_action("Sending backup to other machines", r {
|
15 | temp dm_tempDisableAllButtons(); |
16 | for (S computerID : possibleComputerIDs(javaTokC(sendToMachines))) pcall {
|
17 | dm_sendAllBackupFilesToOtherMachine(computerID); |
18 | } |
19 | }); |
20 | } |
21 | } |
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: | 616 / 3838 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |