Re: Run-Mode & Enums

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So, there will be no case of somebody passing the

RUN-(NON)INTERACTIVE parameter to my script, will be ?

If that is the case, why the pdb browser is showing as the

first parameter to my scrypt the run-mode, isn't it confusing ?

Shouldn't the pdb browser hide that for scripts-fu ?

About the enums, any ideas ? I want to upload 3 plugins

I made but it is not nice to pass options as numeric mode

selector, sorry to annoy with this ...

Bests,

Pablo

On Thursday 18 December 2008 17:43:24 saulgoode@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:

> Quoting Pablo Yaggi <pyaggi@xxxxxxxxxxxxxxx>:

> > 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

> Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx

> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux