Re: scripting problems

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

 



Hi,

On Mon, 2008-02-18 at 21:26 +0100, Sven Neumann wrote:

> > I expect the the line "I am running the script" to print and then GIMP
> > to exit -- see http://www.gimp.org/docs/python/index.html for details on
> > gimp.quit().
> 
> The documentation you are looking at is hopelessly outdated. gimp.quit()
> exits the plug-in (python-fu-eval in this case), not the GIMP
> application.

So in order to fix your script you will have to use

from gimpfu import *
print "I am running the script"
pdb.gimp_quit(0)

Perhaps it would make sense for the Python binding to map this procedure
to a method on the gimp object. Perhaps gimp.exit() ?


Sven


_______________________________________________
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