On 12-09-20 01:43 AM, Gary Aitken wrote:
But the procedure browser lists it as taking two args,
the first of which is
run-mode INT32 Interactive, non-interactive
The procedure browser outputs information oriented more at C based plugins
and not Scheme scripts. Scheme scripts do not take a
There's half an explanation in this e-mail chain:
http://www.gimpusers.com/forums/gimp-developer/10891-run-mode-enums
But essentially, if you start your procedure name with script-fu- then the run
mode is implicit and you shouldn't include it in any definitions.
The fact that it turns up in the
Using gimp 2.6
I originally defined my script-fu procedure as
(define (my-proc fileExpr)
...
)
and registered it using:
(script-fu-register
"my-proc"
...
"" ; image type the script works
on
SF-STRING "FileNameExpression"""
)
But