I just checked and you are correct that when calling your own scripts
you must leave out that parameter for it to work even though the pdb
browser shows it.

-Rob A>

On 12/18/08, Pablo Yaggi <pya...@alsurdelsur.com> wrote:
> 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.
>
>
> On Thursday 18 December 2008 12:19:31 Rob Antonishen wrote:
>> If you specify RUN-NONINTERACTIVE it will run without the dialog box
>> appearing.
>>
>> On 12/18/08, Pablo Yaggi <pya...@alsurdelsur.com> wrote:
>> > Hi,
>> >
>> > In the scrupt-fu browser under parameters most of the
>> > scripts even my own show as first parameter:
>> >
>> > run-mode INT32 Interactive,non-interactive
>> >
>> > but it can not be specified in call nor used inside
>> > the script as is was implicit declared.
>> > Why is it there ? what does it mean ?
>> >
>> > About Enums, I still can't find a way to
>> > declare de enums. I need to use SF-ENUM
>> > and present the user a combo with a list
>> > of modes, but I don't know how to define
>> > the enums to include in SF-ENUM.
>> > Also I'm learning what available functions
>> > I have  (like if, cond, etc) reading other scripts,
>> > I couldn't find any documentation out there,
>> > is there any ?
>> >
>> > Best Regards
>> > Pablo
>
>
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to