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

22
LINES

< > BotCompany Repo | #1007063 // Global ID Maker

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (6543L/45K/160K).

!7

p-substance-thread {
  centerBigConsole();
  swing {
    showControls(jcenteredline(jbutton("Copy this ID to the clipboard", f copyConsoleInputToClipboard)));
    consoleInputField().requestFocus();
  }
  fS title = programTitle();
  repeat with sleep 1 {
    if (!isInForeground(consoleFrame()))
      setConsoleTitle(title + " [Activate window to produce IDs]");
    else if (mouseInWindow(consoleFrame()))
      setConsoleTitle(title + " [Move mouse away to produce IDs]");
    else {
      setConsoleTitle(title);
      S id = aConceptID();
      print(id);
      setConsoleInput(id);
    }
  }
}

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: #1007063
Snippet name: Global ID Maker
Eternal ID of this version: #1007063/12
Text MD5: fa61e1b8dc80b405d521b16bad622aac
Transpilation MD5: 44ee03df1d907e44fff0d73b5848126e
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-28 13:32:00
Source code size: 625 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 596 / 714
Version history: 11 change(s)
Referenced in: [show references]