LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   writing a script to take a screenshot (http://www.linuxquestions.org/questions/linux-newbie-8/writing-a-script-to-take-a-screenshot-277964/)

minm 01-14-2005 11:23 PM

writing a script to take a screenshot
 
Hi, is it possible to write a bash script that will take a snap shot of each window thats open and saves them in different files within a directory?

Oliv' 01-15-2005 07:28 AM

Hi,

yes you can do that with xwd and its -id option... now the problem is to retrieve the identifer of each window... But if you know the basic of X-Window programming that will not be a problem ;)

Oliv'

minm 01-15-2005 03:27 PM

hmm, thanks!.. now to figure out how to do that ;)

J.W. 01-15-2005 05:19 PM

Assuming that this is a one time deal, you can probably just use ksnapshot, and manually save the screenshots under the appropriate name/directory. -- J.W.

Oliv' 01-16-2005 07:38 AM

see this link: http://www.linuxdevcenter.com/pub/a/...t&x-maxdepth=0

Oliv'


All times are GMT -5. The time now is 09:27 PM.