Carefull Quad ... there are a lot of 'flavours' of Linux to choose from ... this one is Suse.Quadophile said:Linux is surely getting THERE!
#!/bin/bash
# This function is part of the bbips Bash Batch Image Processing Script
# http://www.bbips.org
#
#
########################################################
# bbips - (b)ash (b)atch (i)mage (p)rocessing (s)cript #
# On the web at www.bbips.org #
#####################################################################################
# #
# FILE: bbips #
# VERSION: See variable (bbips_version) below. #
# DATE: See variable (revision_date) below. #
# #
# AUTHOR: Dave Crouse <dave NOSPAMat usalug.org> #
# c/o USA Linux Users Group #
# PO Box 3210 #
# Des Moines, IA 50316-0210 #
# United States #
# #
# #
# Copyright (C) 2004-2005 Dave Crouse <dave NOSPAMat usalug.org> #
# All rights reserved. #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# #
#####################################################################################
Create_Screenshots ()
{
clear
echo " __ __ _
/ /_ / /_ (_)___ _____
/ __ \/ __ \/ / __ \/ ___/
/ /_/ / /_/ / / /_/ (__ )
/_.___/_.___/_/ .___/____/
/_/
"
echo "----------------------------------"
echo "Bash Batch Image Processing Script"
echo "Screenshot Creation Function"
echo ""
echo "This will allow you to take multiple"
echo "screenshots. You will be asked for the"
echo "number of screenshots you wish to take,"
echo "and the number of seconds delay between shots"
echo "You will also be asked for a name for the"
echo "screenshot directory. No spaces or special"
echo "characters should be used in the name."
echo ""
echo ""
read -p "How many screenshots do you want to take ? " numbershots
read -p "How many seconds delay between each shot ? " delayed
read -p "What would you like to name this series of screenshots ? " shotname
echo ""
echo "You may minimize this window. Screenshots will"
echo "begin 5 seconds after you hit the Enter Key"
echo ""
echo "----------------------------------"
read -p "Hit Enter to continue" temp
echo "Starting screenshots"
echo ""
mkdir bbips-screenshots
cd bbips-screenshots
mkdir $shotname
cd $shotname
sleep 5s;
# note: the resize feature available - others also available - see man import
# import -window root -resize 800x600 -snaps 10 -pause 5 bbipshot.jpg
import -window root -snaps $numbershots -pause $delayed $shotname.jpg
echo "All screenshots created"
cd ..
cd ..
read -p "Hit RETURN to continue" temp
}
Create_Screenshots
clear
echo " Thanks for using the Create Screenshots bash function"
exit
usalug said:you don't have the "imagemagick" program installed.
If your running suse, you can use yast and install it.
usalug said:you don't have the "imagemagick" program installed.
If your running suse, you can use yast and install it.
muckshifter said:
oops, I think I just installed every Multimedia package under the sun.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.