On Mon, 2009-05-18 at 16:40 +0300, Ioan Calin Borcoman wrote:

> 1. Is it possible to obtain any info from the script-fu-server except
> 'Success'? For example, if I send '(gimp-image-get-name 1)' for
> execution to the server, I would expect to receive something like
> 'foo.xcf' (or 'Untitled', if a new file is opened, for example).
> Instead of that, I receive only 'Success'. Any ideas on what is
> missing?
> 2. Is it possible to have script-fu-server started automatically when
> gimp starts? How?

As I already said, script-fu-server is nothing but a code example to
show you how a plug-in can export the PDB functionality. If you actually
need such an interface, I suggest that you start from scratch after
having understood how script-fu-server works.

If I would be in the need to control GIMP from outside, I'd write an
extension that exports the PDB over D-Bus. That should be relatively
easy and it would be useful enough that we should consider to include it
instead of the script-fu-server code, which is pretty much useless
except as an example.


Gimp-developer mailing list

Reply via email to