Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!bcm!wilkins!klong From: klong@wilkins.bcm.tmc.edu (Kevin Long) Newsgroups: comp.windows.x Subject: Re: Delayed screen snapshots Summary: Run program on A:0, xwatchwin and xwd it on B:0. Keywords: X screen snapshot Message-ID: <315@gazette.bcm.tmc.edu> Date: 16 Mar 90 20:09:04 GMT References: <312@gazette.bcm.tmc.edu> Sender: usenet@bcm.tmc.edu Lines: 40 In article <312@gazette.bcm.tmc.edu>, I write: > I need something to take a snap shot of a region of my screen, but delay > doing it for enough time for me to bring up a pop-up menu. Steve Jacobson (csvsj@garnet.berkeley.edu) writes with a good idea: >Here's what I do (it requires two displays...): > >On display one, start up the application you want to dump. >On display two, run xwatchwin, to watch the root window on display one. > >On display one, ...pop up the menu... >On display two, execute xwd, picking the xwatchwin window. > >Steve I think this will do the trick nicely. I'd still like for the authors to allow specififying a window ID as a command line parameter to xwd so I don't have to use the mouse to click on the window. It would only require one display, I think, with a scheme like: open an xterm xlswins the display to get the root window ID sleep 10; xwd -display A:0.0 -windowid 0x8023 -out blah.xwd & exit to close the xterm 10 seconds later: voila. I'll try to mail to them, if I can figure out their mail ids. The R4 manual page only says: >AUTHORS > Tony Della Fera, Digital Equipment Corp., MIT Project Athena > William F. Wyatt, Smithsonian Astrophysical Observatory Any pointers would be appreciated. Regards, Kevin Long Baylor College of Medicine klong@bcm.tmc.edu