Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ames!haven!mimsy!mojo!stripes From: stripes@eng.umd.edu (Joshua Osborne) Newsgroups: comp.windows.x Subject: Re: Delayed screen snapshots Keywords: X screen snapshot Message-ID: <1990Mar17.023018.5325@eng.umd.edu> Date: 17 Mar 90 02:30:18 GMT References: <312@gazette.bcm.tmc.edu> Sender: news@eng.umd.edu (The News System) Organization: Maryversity of Uniland, College Park Lines: 25 In article <312@gazette.bcm.tmc.edu> klong@wilkins.bcm.tmc.edu (Kevin Long) writes: >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. > [snapshot info deleted] > >Is there something like xwd that would let me specify the window id >to be dumped instead of having me click on the window? I'm thinking >that I could bring up the pop-up menu on display A, and then from display >B run xwd -display A:0.0 -window 0x8000, where 0x8000 is the root window. The X11R4 xwd -help reports: usage: xwd [-display host:dpy] [-debug] [-help] [{-root|-id |-font |-n ame }] [-nobdrs] [-out ] [-xy] [-add value] [-frame] I have used the -root and -id options. They work fine, I think they were in R3 too. I'm not shure exactly how the -name or -font options work (esp -font, what does that do?). When I need a delay to move stuff down I normally do something like "sleep 4;xwd -id 0x80004"... -- stripes@eng.umd.edu "Security for Unix is like Josh_Osborne@Real_World,The Mutitasking for MS-DOS" "The dyslexic porgramer" - Kevin Lockwood "Don't try to change C into some nice, safe, portable programming language with all sharp edges removed, pick another language." - John Limpert