Red Hat Topics - automated screen caps

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > February 2005 > automated screen caps





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author automated screen caps
pete

2005-02-23, 7:45 am

Hi,

I'm trying to automate the process of taking screen caps of my Linux desktop
(more specifically of web browser windows, so if there was an application
for taking screen caps of URLs, even better).

Imager (Perl) and ImageMagick doesn't seem to offer this feature, and
ksnapshot doesn't appear to offer automation. GIMP/Script Fu, might be a
possibility, but I haven't found anything on screen captures yet...

Cheers,

Pete
Rincewind

2005-02-23, 8:45 pm

On Wed, 23 Feb 2005 11:54:43 +0000, pete mumbled something like this:

> Hi,
>
> I'm trying to automate the process of taking screen caps of my Linux
> desktop (more specifically of web browser windows, so if there was an
> application for taking screen caps of URLs, even better).
>
> Imager (Perl) and ImageMagick doesn't seem to offer this feature, and
> ksnapshot doesn't appear to offer automation. GIMP/Script Fu, might be a
> possibility, but I haven't found anything on screen captures yet...
>


I'm not sure how you would do it from a script, but gimp does screen
captures at:

File -> Acquire -> Screen Shot...

Which leads to a dialog where you can choose various options.

Since pretty much everything is scriptable in the gimp, someone may know
how to do it.

--
Rinso
/\
/ \
/wizz\
~~~~~~~~~~~~

Sandgroper

2005-02-23, 8:45 pm


"pete" <pete@p-smith.co.uk> wrote in message
news:7a_Sd.1086$9F1.581@newsfe5-gui.ntli.net...
> Hi,
>
> I'm trying to automate the process of taking screen caps of my Linux

desktop
> (more specifically of web browser windows, so if there was an application
> for taking screen caps of URLs, even better).
>
> Imager (Perl) and ImageMagick doesn't seem to offer this feature, and
> ksnapshot doesn't appear to offer automation. GIMP/Script Fu, might be a
> possibility, but I haven't found anything on screen captures yet...


Can't you use the [Print Screen ] key to pop up the Save Screen Shot
utility ?
( or use [ Alt - Print Screen ] for the active window )


--
Sandgroper
----------------------------------
Remove KNICKERS to Email
steveray@KNICKERSiinet.net.au


Scott Lurndal

2005-02-23, 8:45 pm

pete <pete@p-smith.co.uk> writes:
>Hi,
>
>I'm trying to automate the process of taking screen caps of my Linux desktop
>(more specifically of web browser windows, so if there was an application
>for taking screen caps of URLs, even better).
>
>Imager (Perl) and ImageMagick doesn't seem to offer this feature, and
>ksnapshot doesn't appear to offer automation. GIMP/Script Fu, might be a
>possibility, but I haven't found anything on screen captures yet...
>
>Cheers,
>
>Pete


man xwd

scott
Scott Lurndal

2005-02-23, 8:45 pm

scott@slp53.sl.home (Scott Lurndal) writes:
>pete <pete@p-smith.co.uk> writes:
>
>man xwd
>
>scott


and ImageMagick (including the convert utility) understands xwd files.

scott
Andrew Kar

2005-02-27, 7:45 am

pete wrote:

> ksnapshot doesn't appear to offer automation.


Where did you get that idea?? Almost all kde apps are TOTALLY automatable.
Start ksnapshot and then start kdcop. It will show all your running apps and
the interfaces they offer.
These can then be run by any programming or scripting language including
from a shell script or the command line.
You could quite easily write a script that gives a list of urls to Konqueror
and then snaps a picture of each url.

andrew

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com