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

7
LINES

< > BotCompany Repo | #1007408 // startOrActivate - start a program (with nohupJavax) or activate its frames if it's running; program needs to run framesBot()!

JavaX fragment (include)

// returns informative message
static S startOrActivate(S progID) {
  S msg = activateFramesOf(progID);
  if (nempty(msg)) ret infoBoxAndReturn(msg);
  nohupJavax(progID);
  ret infoBoxAndReturn("Starting " + snippetTitle(progID));
}

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: #1007408
Snippet name: startOrActivate - start a program (with nohupJavax) or activate its frames if it's running; program needs to run framesBot()!
Eternal ID of this version: #1007408/5
Text MD5: 57d0edb6272465ffbfc43f5d53735c28
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-07 21:02:08
Source code size: 239 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 549 / 620
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)