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

9
LINES

< > BotCompany Repo | #1019016 // dm_firstQuickSearchModule

JavaX fragment (include)

1  
sS dm_firstQuickSearchModule() {
2  
  QuickSearchPlacement p = optCastAndQuickImport(QuickSearchPlacement, dm_generalMap_get('modulesUnderAIBar));
3  
  if (p == null) null;
4  
  S moduleID = first(p.modules);
5  
  if (moduleID == null || !dm_visible(moduleID)) null;
6  
  Rect r = dm_bounds(moduleID);
7  
  if (r == null/* || r.y != 0*/) null;
8  
  ret moduleID;
9  
}

Author comment

Began life as a copy of #1018529

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019016
Snippet name: dm_firstQuickSearchModule
Eternal ID of this version: #1019016/4
Text MD5: 79ca3eb9c786610ffb8c8d838304f1e1
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-18 00:46:12
Source code size: 351 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 251 / 313
Version history: 3 change(s)
Referenced in: [show references]