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

5
LINES

< > BotCompany Repo | #1006168 // shootWindow - bring window to front, take screenshot of it

JavaX fragment (include)

static BufferedImage shootWindow(Window w) {
  w.toFront();
  sleep(50);
  ret shootScreen2(w.getBounds());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006168
Snippet name: shootWindow - bring window to front, take screenshot of it
Eternal ID of this version: #1006168/3
Text MD5: 563871069f4b5b4ac689f7fd28d45eb0
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-17 11:36:52
Source code size: 113 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 518 / 543
Version history: 2 change(s)
Referenced in: #1006170 - shootWindow2 - bring window to front, delay, take screenshot of it (works only in non-AWT thread)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)