Re: [Gimp-user] file-glob problem in 2.4.0rc3

2007-10-18 Thread Sven Neumann
Hi, On Thu, 2007-10-18 at 10:58 -0400, [EMAIL PROTECTED] wrote: > 'file-glob' used to return a list of strings in GIMP 2.2, now it > returns a vector. You can make your code work by using the following > substitution: > > (car (vector->list (cadr (file-glob "*.png" 1 > > > However, Scri

Re: [Gimp-user] file-glob problem in 2.4.0rc3

2007-10-18 Thread saulgoode
'file-glob' used to return a list of strings in GIMP 2.2, now it returns a vector. You can make your code work by using the following substitution: (car (vector->list (cadr (file-glob "*.png" 1 However, Script-fu should probably be amended to return lists for PDB STRINGARRAY values (if

[Gimp-user] file-glob problem in 2.4.0rc3

2007-10-18 Thread Christian Anthon
Hi all, The following used to work in gimp 2.2: running under gimp -b -i - (car (cadr (file-glob "*.png" 1))) returned "222.png" but now I get > (car (cadr (file-glob "*.png" 1))) Error: car: argument 1 must be: pair So obviously something changed, I just don't know enough about script-fu