Dillon wrote:
> (set! num-layers (car (gimp-image-get-layers newimage)))
> (set! layerIDs (cadr (gimp-image-get-layers newimage)))

What error messages do you get when the above lines are included?

> (define (batch-save-as-xcf pattern)
>   (let* (
>       (filelist (cadr (file-glob pattern 1)))
>       (fileparts)
>   (xcfname)
>       (filename)
>       (image)
>   (newimage)
>       (drawable)
>       )

The declarations for variables "fileparts" through to "drawable" are wrong. 
You must provide an initial value when defining a variable in a let block.

The simple solution is to add a 0 or -1 to the declarations for numeric 
variables and "" string variables. Any value will work but it helps to 
stick to the a value similar to the type of value the variable could 
typically hold.

Gimp-user mailing list

Reply via email to