So weir in script-fu, cadr function not work

74 Views Asked by At

> (cadr '(1 2 3)) Error: eval: unbound variable: cadr

I think who are familiar with script-fu should think as i am, this is so weir. Just few day ago, i ran some thing like "cadr" or even "caaadr" smoothly. Please help me.

i search on google 10 pages but there are not thing similarly.

1

There are 1 best solutions below

0
Kevin On

cadr, caar etc are defined in the script-fu.init file that should be in the same place as all the GIMP-supplied scripts (drop-shadow.scm, erase-lines.scm etc)

On my Windows installation this is C:\Program Files\GIMP 2.10\share\gimp\2.0\scripts\script-fu.init