Hi,
On Mon, 2007-11-12 at 11:19 -0500, Kevin Cozens wrote:
> For future reference, if you are using a script in batch mode only, you don't
> need the script-fu-register block. The register block is only needed if you
> want to run your scripts by selecting it from a menu within GIMP.
That is n
Sam Kuper wrote:
> (define (batch-CUPify pattern)
[snip]
> )
>
> (script-fu-register "batch-CUPify"
> "Batch-CUPify"
> "Make an image look like it was scanned to PDF by CUP"
> "Sam Kuper"
> "Sam Kuper"
>
Dear Saul,
Thanks for your help. I was eventually successful in running my batch GIMP
script from the Windows XP command line, by using either of the following
commands:
gimp-2.4 -i -b "(batch-CUPify \"D:\\Documents and
Settings\\spk30\\Desktop\\alison_sl1_dear_friend_backup\\*\") (gimp-quit 0)"
I do not believe that single-quoting a command line argument in Windows
works the same as BASH (Linux). Try using double-quotes and escape any
double-quotes which appear in your argument:
gimp -i -b "(batch-CUPify \"*.png\")" -b "(gimp-quit 0)"
If you include directories in your path, also escape
Dear Sven,
Running the same command in the same directory but using MinGW instead of
the Windows XP Command Prompt. This gives me the following messages:
"No batch interpreter specified, using the default 'plug-in-script-fu-eval'.
batch command: experienced an execution error."
I hope this infor
Dear Sven,
Thank you. However, I still receive the following messages:
"GIMP-Error: Opening 'D:\Documents and
Settings\spk30\Desktop\alison_sl1_dear_friend_backup\*.png)'' failed:
Invalid argument
GIMP-Error: Opening 'D:\Documents and
Settings\spk30\Desktop\alison_sl1_dear_friend_backup\0)'' fai
Hi,
On Thu, 2007-11-08 at 15:17 +, Sam Kuper wrote:
> gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)'
The correct syntax to pass multiple batch commands to GIMP 2.4 is:
gimp-2.4 -i -b '(batch-CUPify "*.png")' -b '(gimp-quit 0)'
In other words, only one command per --batch or -b op
Sam Kuper wrote:
> I have been having difficulty running the following batch script:
>
> ; --
> ; BEGIN SCRIPT
> ; --
>
> (define (batch-CUPify pattern
> image
> drawable)
[snip]
> gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-q