On Wed, 8 Nov 2006, Andre Poenitz wrote:

> As in "can't run batch converters anymore just because someone views a 
> lyx file"?

Shouldn't at least this one be easy if single instance v.s. multiple 
instances is controlled via options on the command line (or have a setting 
in the preferences). It works for Opera at least, here are some of the 
command line options:

  -remote <command>           send command to another Opera window
  -noraise                    no window raise when receiving remote commands
  -window <window id>         a remote opera window
  -windowname <window name>   a remote opera window with a symbolic name

where <command>

Remote commands:
  openURL()                      open "Go to" dialog box prompting for input
  openURL(url)                   open url in active window
  openURL(url,<destination>)     open url in destination <W|P|B>
  openFile(<destination>)        open file selector in destination <W|P>
  raise()                        raises the opera window
  lower()                        lowers the opera window

  <destination> Replace W: new-window, P: new-page, B: background-page

As far as I know, this works on both Windows and Linux (although I've 
never gotten the -noraise option to work:-(



As a side note, I've been using a diagramming tool called Dia. It runs as 
multiple instances, so if you double click on a two separate drawing files 
you will get two separate instances of the program. Now, Dia, just like 
GIMP, is a multi-window application, with separate windows for the canvas, 
the tools and the list of layers.

The problem is that with two instances open, I also get for instance two 
tool windows - but I have no clue whatsoever as to what canvas it belongs.
At times I've thought the program has gone completely bonkers because 
selecting a tool and then using it on the canvas does something completely 
different. What has happened is of course that I selected the tool in the 
wrong tool window...  I absolutely hate this behaviour, and you can 
imagine how confusing it has been for new persons. Being on Windows, they 
automatically double-click on all the .dia-files, ending up with lots of 
Dia instances - and a complete mess.

cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to