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).

1  
!7
2  
3  
p-substance-thread {
4  
  centerBigConsole();
5  
  swing {
6  
    showControls(jcenteredline(jbutton("Copy this ID to the clipboard", f copyConsoleInputToClipboard)));
7  
    consoleInputField().requestFocus();
8  
  }
9  
  fS title = programTitle();
10  
  repeat with sleep 1 {
11  
    if (!isInForeground(consoleFrame()))
12  
      setConsoleTitle(title + " [Activate window to produce IDs]");
13  
    else if (mouseInWindow(consoleFrame()))
14  
      setConsoleTitle(title + " [Move mouse away to produce IDs]");
15  
    else {
16  
      setConsoleTitle(title);
17  
      S id = aConceptID();
18  
      print(id);
19  
      setConsoleInput(id);
20  
    }
21  
  }
22  
}

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: 486 / 594
Version history: 11 change(s)
Referenced in: [show references]