Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!wilkins!klong From: klong@wilkins.bcm.tmc.edu (Kevin Long) Newsgroups: comp.windows.x Subject: Re: Delayed screen snapshots Summary: xwd DOES allow the -id parameter; undocumented feature Keywords: X screen snapshot Message-ID: <317@gazette.bcm.tmc.edu> Date: 16 Mar 90 20:30:51 GMT References: <312@gazette.bcm.tmc.edu> <315@gazette.bcm.tmc.edu> Sender: usenet@bcm.tmc.edu Organization: Baylor College of Medicine, Houston, TX Lines: 31 In article <315@gazette.bcm.tmc.edu> I write: >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: >>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. > >I'd still like for the authors to allow specififying a window ID as a >command line parameter... Well, guess what, folks: xwd DOES support this already. It's an undocumented feature. As asente@decwrl.dec.com (Paul Asente) writes: >Try >sleep 5; xwd -id 0x12345 -out whatever It works! The manual page we've got came off the R4 tape. It's first line is: .TH XWD 1 "Release 4" "X Version 11" and a grep for "id" comes up empty. **************************************************************************** * I hope the MIT folks add this to the docs (or ask the authors to do so). * **************************************************************************** Kevin Long Baylor College of Medicine klong@bcm.tmc.edu