Thanks Michael. The `import' command works great! [EMAIL PROTECTED] wrote:
> On 15 May, Peter S Galbraith wrote: > > > > How does one grab an image of the root window (containing many > > window) while the mouse is in the process of selecting in a menu? > > > > - Using ImageMagick's display's grab function, I enter a time > > delay and select a menu in Emacs. I get the error: > > > > display: Unable to grab the mouse. > > Don't know about gimp, but I'd be surprised if it couldn't... > > I've had varying success with xv, sometimes it works, sometimes it > doesn't... > > The imagemagick package includes the 'import' command. I have no trouble > using it to capture emacs' menus: > > sleep 5 ; import -window root foo.gif > > puts the image in foo.gif. If you want an other format than gif, just > use the suitable .extension

