Uses 911K of libraries. Click here for Pure Java version (12519L/67K).
!7 cmodule SendModuleToMachine { S moduleID, computerID; visualize { ret withRightMargin(makeForm2( "Module ID:", dm_fieldTextField('moduleID), "Send to:", dm_onlineComputerSelectorComboBox(dm_fieldLiveValue('computerID)), "", jbutton("Send!", rThread doIt))); } void doIt enter { if (nempty(moduleID) && nempty(computerID)) { if (dm_mod(moduleID) != null) dm_copyModuleToOtherMachine(moduleID, computerID); else if (startsWith(moduleID, "#")) dm_evalOnOtherMachine(computerID, "dm_addDynamicModuleDialog2(" + quote(moduleID) + ");"); } } }
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: | 786 / 1530 |
| Version history: | 4 change(s) |
| Referenced in: | #1020120 - dm_sendModuleToOtherMachineDialog |