Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!amdcad!sun!turnpike!argv From: argv%turnpike@Sun.COM (Dan Heller) Newsgroups: comp.windows.x Subject: Re: Dumping a screen, including pop-ups Message-ID: <126027@sun.Eng.Sun.COM> Date: 8 Oct 89 17:51:21 GMT References: <1467@dinl.mmc.UUCP <7606@bunny.GTE.COM> Sender: news@sun.Eng.Sun.COM Reply-To: argv@sun.UUCP (Dan Heller) Distribution: usa Lines: 24 In article <7606@bunny.GTE.COM xg00@GTE.COM (Xev Gittler) writes: schwartz@dinl.uucp (Michael Schwartz) writes: > In preparing a manual for an application (including X itself), how does > one dump the window including the pop-up menus on it? > When the mouse is being held down for the popup, xwd can't seem to get > the screen. I modified xwps3 (posted recently) to do just that. The diffs are below. I just threw it together, so there is absolutely no documentation, but basically, I added a switch '-timer n', where n is the number of seconds to wait. You start the program running, and select a window (either the root window, or one that will contain the popup), then it will beep at you once a second, until it takes the picture. While it's counting down, you can open any popup you like. % sleep N ; beep ; xpws3 ... N = number of seconds to wait. "beep" = a program that beeps or "echo ^G" dan ----- My postings reflect my opinion only -- not the opinion of any company.