Hi Nick

On 09/24/2013 04:31 PM, Nicholas choly wrote:

Is it possible to do something similar with Veusz?  What I'm finding so
far is that if I try to call "veusz --listen," I can pass it scripting
commands, but then it gives me a bare window with whatever I've told it
to do; How do I launch the GUI with it already set up with my data file
imported and a plot created?

The easiest way to do this is simply to create a vsz file with commands required to import the data (the saved documents are just scripting commands). You could then just do "veusz initial.vsz". The main problem with this is that the user would not be prompted for a new file name if they saved the edited document.

An alternative way would be to use the dbus or samp interfaces to send data to the program after it is running. Unfortunately the dbus interface isn't really documented, but you get essentially the same commands as the command line interface. A dbus browser should show you what's available.

Best wishes

Jeremy



_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à