On Tue, Aug 04, 2009 at 01:33:44PM +0200, Vincent van Ravesteijn - TNW wrote:

> >Maybe other native means could be used, but I am a *nix fellow
> >and don't know Windows well enough to judge.
> 
> A very simple approach is to just use command-line parameters. If we can
> manage to make LyX a single instance application (I mean that if you try
> to start LyX when it's already running it will open the existance LyX
> instance and open a possibly specified LyX file in the same instance),
> then we can also just call "LyX.exe %f -goto-row %l".
> 
> Would this be a possible solution ? At least it would be a pretty simple
> solution.

Well, if you are able to do that, you could use the same mechanism for
passing the needed info. I mean, when you launch LyX, you have to detect
that an instance is already running and then pass the parameters specified
on the command line to the running instance.
Isn't this the same problem that has to be solved?

-- 
Enrico

Reply via email to