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

17
LINES

< > BotCompany Repo | #1019155 // shootSystemWindow

JavaX fragment (include)

scope shootSystemWindow.

// Constants for Peppermint Linux
static int #mysteriousConstant1 = -24;
static int #mysteriousConstant2 = 26;
static int #mysteriousConstant3 = 4;

static BufferedImage shootSystemWindow(wmctrl_Entry e) {
  activateSystemWindow(e);
  sleepSeconds(1);
  ret shootScreenArea(
    growRectLeft(mysteriousConstant3,
    growRectUpwards(mysteriousConstant2,
      translateRectY(e.bounds, mysteriousConstant1))));
}

end scope

Author comment

Began life as a copy of #1019043

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019155
Snippet name: shootSystemWindow
Eternal ID of this version: #1019155/13
Text MD5: 649fb97a96aaab2318d6c80768f3aeaa
Author: stefan
Category: javax / linux
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-28 00:16:25
Source code size: 464 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 399
Version history: 12 change(s)
Referenced in: [show references]