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

18
LINES

< > BotCompany Repo | #1003538 // React to Windows key (Linux)

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

Libraryless. Click here for Pure Java version (1949L/13K/44K).

!752

p {
  new Android3 a;
  a.startPort = 4989;
  a.useMultiPort = false; // We want the real port!
  makeBot(a);
  print("Ports: " + a.port + " / " + a.startPort);
  if (a.port != a.startPort) {
    a.dispose();
    fail("Could not allocate port " + a.startPort);
  }
}

answer {
  if "windows key pressed"
    print("Windows key!");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003538
Snippet name: React to Windows key (Linux)
Eternal ID of this version: #1003538/1
Text MD5: 9672c8fbe6bef7a41a65e445861124b4
Transpilation MD5: be3e003ff00dc49d29e074fd32ebadb1
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-17 17:28:59
Source code size: 357 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 525 / 613
Referenced in: [show references]