Uses 911K of libraries. Click here for Pure Java version (12519L/67K).
1 | !7 |
2 | |
3 | cmodule SendModuleToMachine { |
4 | S moduleID, computerID; |
5 | |
6 | visualize { |
7 | ret withRightMargin(makeForm2( |
8 | "Module ID:", dm_fieldTextField('moduleID), |
9 | "Send to:", dm_onlineComputerSelectorComboBox(dm_fieldLiveValue('computerID)), |
10 | "", jbutton("Send!", rThread doIt))); |
11 | } |
12 | |
13 | void doIt enter { |
14 | if (nempty(moduleID) && nempty(computerID)) { |
15 | if (dm_mod(moduleID) != null) |
16 | dm_copyModuleToOtherMachine(moduleID, computerID); |
17 | else if (startsWith(moduleID, "#")) |
18 | dm_evalOnOtherMachine(computerID, "dm_addDynamicModuleDialog2(" + quote(moduleID) + ");"); |
19 | } |
20 | } |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, hpgrupgrauku, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1020118 |
Snippet name: | Send Module To Other Machine |
Eternal ID of this version: | #1020118/5 |
Text MD5: | 00240fc8478f949959cd19cd544978a7 |
Transpilation MD5: | 8fadecb2c345de4fe5555ed94c3ba4f0 |
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: | 2020-08-01 11:39:13 |
Source code size: | 635 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 370 / 989 |
Version history: | 4 change(s) |
Referenced in: | [show references] |