Libraryless. Click here for Pure Java version (1911L/12K/42K).
!752 sS mail; sbool error; // returns false if done, otherwise calls whenDone later static bool action(S s, final Runnable whenDone) { new Matches m; if "Bot sets email address to *" { S mail = m.unq(0).toLowerCase(); assertTrue(mail.endsWith("@gmail.com")); main.mail = mail; save("mail"); false; } if "Bot starts password saver." { load("mail"); awt { S pass = swingEnterPassword("Please enter GMail password for " + mail); if (pass == null) error = true; if (whenDone != null) whenDone.run(); } true; } throw fail("unknown command: " + quote(s)); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003351 |
Snippet name: | GMail Bot Backend (handling GMail, dev.) |
Eternal ID of this version: | #1003351/1 |
Text MD5: | df626933c30273277f507e0b1d58bd4d |
Transpilation MD5: | ecb222f51ac7d4e85c6441fa6871ac57 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-06-20 17:30:34 |
Source code size: | 663 bytes / 30 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 789 |
Referenced in: | #1003384 - Color Showing Bot Backend #1003562 - GMail Bot (Swing) |