Re: retrieve info from gimp via script-fu-server

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

 



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.


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