Download Jar. Uses 3874K of libraries. Click here for Pure Java version (10567L/70K).
1 | !7 |
2 | |
3 | p-subst { |
4 | final Web web = persistentObjectFromProgram(#1009839, "Web", Web); |
5 | final WebNode today = web.findNode("Today"); |
6 | print("Today: " + today); |
7 | if (today == null) ret; |
8 | print(); |
9 | MultiMap<S, WebNode> relations = web_forwardMultiMapByLabel(today); |
10 | Map<S, L<WebNode>> map = cloneMultiMapToTreeMap(relations); |
11 | map.remove("Next day"); |
12 | pnl(map); |
13 | |
14 | L<WebNode> actions = map.get("I should"); |
15 | for (WebNode action : unnull(actions)) |
16 | if (confirmYesNo(action.text() + "?")) |
17 | send("Voice Actions.", action.text()); |
18 | } |
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: | #1009876 |
Snippet name: | Find out what to do today [OK] |
Eternal ID of this version: | #1009876/13 |
Text MD5: | fe7e7047d263a4c54ea5f4363baacb7c |
Transpilation MD5: | 28bb9426990e16301819a2c142486ce4 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-22 22:19:23 |
Source code size: | 559 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 526 / 1218 |
Version history: | 12 change(s) |
Referenced in: | [show references] |