I'm trying to write a python script that opens the xsane dialog.
But the example script below does not work. Any idea what's wrong?
Ciao
Andreas
#! /usr/bin/env python
from gimpfu import *
def foobar(*args):
print "start foobar()"
pdb.xsane()
print "end foobar()"
register(
"run
Chris Mohler wrote:
> On Mon, Nov 10, 2008 at 12:17 PM, Andreas Matthias
> <[EMAIL PROTECTED]> wrote:
>> Chris Mohler wrote:
>>
>>> On Mon, Nov 10, 2008 at 5:52 AM, Andreas Matthias
>>> <[EMAIL PROTECTED]> wrote:
>>>> I'm trying t
Chris Mohler wrote:
> On Mon, Nov 10, 2008 at 5:52 AM, Andreas Matthias
> <[EMAIL PROTECTED]> wrote:
>> I'm trying to write a python script that opens the xsane dialog.
>> But the example script below does not work. Any idea what's wrong?
>
> I don'
David Gowers wrote:
> What happens if you type
>
> xsane (run_mode = 0)
Oh yes, that works. At least it shows the xsane dialog but it does
not return anything apart from an execution error.
I originally intended to control xsane with a script, but it seems
that the xsane plug-in is not ready fo