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

16
LINES

< > BotCompany Repo | #1015175 // Handle unknown button clicks

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8004L/56K).

!7

p-experiment {
  watchQuotedLog_future(mechListAppendLogFile("User actions"), 100, voidfunc(S s) {
    S text = getString(unstructMap(afterSpace(s)), 'text);
    print("Have text: " + text);
    new Matches m;
    for (S line : lines(text))
      if (swic(afterSquareBracketStuff(line), "User clicked on actionless button ", m)) {
        TextImageAction tia = unstruct_autoCast(m.rest());
        if (isSnippetID(tia.toolTip))
          showSnippet(tia.toolTip);
      }
  });
  noMainDone();
}

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: #1015175
Snippet name: Handle unknown button clicks
Eternal ID of this version: #1015175/12
Text MD5: 40353b7e99f5181006cf1bf61ad4139d
Transpilation MD5: 8a28d1854f4a52f5ae2936b7c0a81e90
Author: stefan
Category: javax / a.i. / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 15:31:37
Source code size: 514 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 659
Version history: 11 change(s)
Referenced in: [show references]