Jan Gent wrote:

Hi!

> I've set up my PC to open pgn (mimetype) files with Scid.
> 
> Unfortunately Scid starts multiple instances instead of opening the pgn  
> file in the running instance.

Unfortunate is relative here, but in most cases I agree. (However, it 
sometimes comes in handy to be able to open two instances.)

> Why isn't there a command-line option (like --use), for using the running  
> instance instead of opening a new instance.

It's not implemented by a commandline switch but by an external helper 
called sc_remote. Try if using this helper instead of the Scid main 
program solves your problem already.

> This could also be useful for downloading (twic) pgn files from the web.  
> Adding them to the main games database can then be done by simply dragging  
> the new opened pgn base in the database switcher.

Depending on what you want to do you could automatise this further by 
calling sc_import. Ie. you could e.g. fetch your games from twic using 
wget/curl/whatever, unpack using unzip -j and then do something like

sc_import twicdatabase TWIC123.pgn

and only then fire up

scid twicdatabase

BTW: If you're fetching from TWIC automagically you might want to notice 
that TWIC sometimes produces a bunch of doublette games for running 
events. Deduping the base might be necessary:

sc_spell twicdatabase /path/to/ratings.ssp

HTH.

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to