On Fri, 2 Apr 2004, Norbert Preining wrote:

> Hi!
> With gimp-2.0 I cannot get gimp script-fu working from the cmdline:
> (define (script-fu-fileload txt)
> But on the cmdline:
> gimp --no-data -i --verbose -b '(script-fu-fileload 0 "foobar")' 

Why does you define it with one argument, and invoke it with two

With invoking it with one argument id does work.
You can also give a try with: 
(gimp-message-set-handler GIMP-CONSOLE)

[EMAIL PROTECTED] srtuf]$ gimp --no-data -i --verbose -b
"foobar")' '(gimp-quit 1)'
INIT: gimp_load_config
Analizowanie "/etc/gimp/2.0/gimprc"
Analizowanie "/home/users/ireks/.gimp-2.0/gimprc"
INIT: gimp_initialize
INIT: gimp_real_initialize
INIT: gimp_restore
INIT: gimp_real_restore
Odpytywanie wtyczki: "/usr/lib/gimp/2.0/plug-ins/gtkcons.py"

(gimp:32474): LibGimpBase-WARNING **: gimp: wire_read(): error
Zapisywanie "/home/users/ireks/.gimp-2.0/pluginrc"
Uruchamianie rozszerzenia: "extension_script_fu"
script-fu: 1

script-fu: foobar

script-fu: 2

batch command: executed successfully.
EXIT: gimp_exit
EXIT: gimp_real_exit
EXIT: batch_exit_after_callback

Gimp-user mailing list

Reply via email to