Re: [Gimp-developer] scripting problems

2008-02-19 Thread Manish Singh
On Mon, Feb 18, 2008 at 01:27:36PM -0800, Al Niessner wrote: > > Dang! I tried pdb.gimp-quit() like in script-fu and it, of course, did > not work. I then browsed http://developer.gimp.org/api/2.0/index.html > looking for a quit or some type of control over gimp and did not see > anything. Not su

Re: [Gimp-developer] scripting problems

2008-02-18 Thread Sven Neumann
On Mon, 2008-02-18 at 13:27 -0800, Al Niessner wrote: > Personally, pdb.gimp_quit(0) makes just as much sense as gimp.exit() as > long as it noted somewhere. All PDB procedures are documented in the Procedure Browser that you can reach from the Xtns menu in the toolbox. Sven

Re: [Gimp-developer] scripting problems

2008-02-18 Thread Al Niessner
Dang! I tried pdb.gimp-quit() like in script-fu and it, of course, did not work. I then browsed http://developer.gimp.org/api/2.0/index.html looking for a quit or some type of control over gimp and did not see anything. It works. Thanks. Personally, pdb.gimp_quit(0) makes just as much sense as g

Re: [Gimp-developer] scripting problems

2008-02-18 Thread Sven Neumann
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. gim

Re: [Gimp-developer] scripting problems

2008-02-18 Thread Al Niessner
Sorry about getting twice Sven, but I should keep it on the list for the next person searching the archives. Any suggestions or guesses on how to make the GIMP application exit? On Mon, 2008-02-18 at 21:26 +0100, Sven Neumann wrote: > Hi, > > On Mon, 2008-02-18 at 11:05 -0800, Al Niessner wrote

Re: [Gimp-developer] scripting problems

2008-02-18 Thread Sven Neumann
Hi, On Mon, 2008-02-18 at 11:05 -0800, Al Niessner 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() ex

Re: [Gimp-developer] scripting problems

2008-02-18 Thread Sven Neumann
Hi, On Mon, 2008-02-18 at 21:02 +0100, Sven Neumann wrote: > I don't think using "--batch -" works with python-fu-eval. It might make > sense to add this as a special case just like it is being done for > script-fu-eval now. Please ignore what I said. python-fu-eval does special-case the "-" com

Re: [Gimp-developer] scripting problems

2008-02-18 Thread Sven Neumann
Hi, On Mon, 2008-02-18 at 11:05 -0800, Al Niessner wrote: > I have found posts related to this error in the forum, but nothing > really matches. I have also googled for a solution and found none. > > The difficulty that I am having starts with this really simple python > script in a file called g