Quoting Pablo Yaggi <pya...@alsurdelsur.com>:
> But I try to call my own script with the RUN-NONINTERACTIVE
> argument and it complains about the argument list, if i remove it,
> it works just fine, then when i use my script with the parameters
> i declared in the define everything goes perfect but adding
> the parameter run-mode as it gets listed in the browser help
> then it fails.
A Script-fu called by another Script-fu can not be run interactively,
therefore a 'run-mode' of RUN-NONINTERACTIVE is assumed.
Unfortunately, this means that when writing your script, you must know
whether the PDB function is providing a "plug-in" or a "script-fu".
Gimp-developer mailing list