On Thu, 02 Oct 2003 09:51:43 +1200
Jaco Swart <[EMAIL PROTECTED]> wrote:

> Has anybody experimented with the GIMP's batch mode?
> It works fine when typing the commands that the GIMP should excecute on the 
> command line, i.e.
>    gimp -b -i '(command1)' '(command2)' '(gimp-quit 0)'
> 
> What I cannot get to work, is to put the commands into a text file and call 
> that with something like
>    gimp -b -i batchjob.txt
> 
> Part of the problem is that I'm not sure how the batchjob.txt should be 
> referenced, and the second problem is that I have no idea how the commands 
> should be formated inside batchjob.txt itself. Logic tels me that either 
>    (command1) 
>    (command2)
> or 
>    '(command1)' 
>    '(command2)'
> should work - but no. I'm obviously missing something here.
> 
> Google was not much help either, nor gimp.org or grokking-the-gimp. There is 
> surprising little information out there (that I could find).  I tried a few 
> other search engines too, but nothing.
> 
> Can batch mode possibly be that obscure?  It is an extremely powerfull feature.
> 

what about something like putting exactly what you wouldall on one line
of a text file and then

gimp -b -i `cat file.txt`



> rgds
> 
> Jaco
> 

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to