On Sunday 22 December 2002 23:57, Sean 'Shaleh' Perry wrote:
> On Sunday 22 December 2002 08:54, Martin Egholm Nielsen wrote:
> > Hi there, and merry merry christmas,
> >
> > I was wondering, is a way to grab a screenshot of a specific
> > workspace? E.g. like "import -workspace 1 -window root
> > /tmp/test123.png"...
> >
> > Maybe, I can ask BB to paint the content of same workspace
> > in an image?
> >
> > I thought of creating a pager which had small
> > thumbnail-pictures of the content of the workspaces...
> >
> > Regards,
> >   Martin
>
> This is possible but not how you are thinking.  You can easily do:
>
> get list of windows on workspace N
> for window in list:
>    get shot of window
>    thumbnail shot
>    display thumbnail

actually, this doesn't always work.  when a window is unmapped (like 
when it is on a workspace that is not the current), then the "contents" 
of the window are undefined.  you can really only take a screenshot of 
the active workspace (and the visible windows on the current 
workspace).

-- 
Bradley T Hughes - bhughes at trolltech.com
Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to