Re: [Gimp-developer] Problems using the PF_STRINGARRAY parameter type when writing a Python plugin for Gimp.

2018-05-25 Thread Kevin Cozens
On 2018-05-23 08:00 AM, Kevin Payne wrote: A bit of Googling leads to the conclusion that PF_STRINGARRAY only exists in a hacked version of gimpfu.py so isn't a standard part of GIMP I looked at the code for pygimp. Since 2004 the 5 array types are commented out. From what I saw in the code

Re: [Gimp-developer] Problems using the PF_STRINGARRAY parameter type when writing a Python plugin for Gimp.

2018-05-23 Thread Kevin Payne
>I'm trying to write a very basic plugin for Gimp using Python and I >want its one and only parameter to be of type PF_STRINGARRAY. The goal >of my plugin for the time being, is to receive a list of files, and >then simply print their names on the Command line, when the plugin is >run.

Re: [Gimp-developer] Problems using the PF_STRINGARRAY parameter type when writing a Python plugin for Gimp.

2018-05-23 Thread Ofnuts
If you want to run the script as a batch it doesn't need (and really shouldn't be) a plugin. Then your code is just a plain Python function that takes string parameters, and you don't need to register it. See

Re: [Gimp-developer] Problems using the PF_STRINGARRAY parameter type when writing a Python plugin for Gimp.

2018-05-22 Thread Carol Spears
On Tue, May 22, 2018 at 8:17 PM, Craig Sanders wrote: > Hello. > > I'm trying to write a very basic plugin for Gimp using Python and I > want its one and only parameter to be of type PF_STRINGARRAY. The goal > of my plugin for the time being, is to receive a list