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

21
LINES

< > BotCompany Repo | #1007406 // framesBot

JavaX fragment (include)

static volatile bool framesBot_has;

static Android3 framesBot() {
  if (framesBot_has) null;
  framesBot_has = true;
  new Android3 android;
  android.greeting = programIDPlusHome() + " Frames.";
  android.console = false;
  android.responder = new Responder {
    public S answer(S s, L<S> history) {
      if "activate frames" {
        awt { // prevent blocking when called from same program's AWT thread
          activateMyFrames();
        }
        ret "OK, activating " + programName();
      }
      null;
    }
  };
  ret makeBot(android);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007406
Snippet name: framesBot
Eternal ID of this version: #1007406/9
Text MD5: b81b80ef7a64d67f3e9cb0faa668b232
Author: stefan
Category: javax / gui / bots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-06 22:58:40
Source code size: 572 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 564 / 598
Version history: 8 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)