I would like to see a general scripting capability that would have commands
for all the menu items in SCID as well as keyboard shortcuts.  As an example
project: construct "mate in one" puzzles (which I have done via the current
interface to SCID, game by game):

1.  Open a database
2.  Filter out all games that end in checkmate (ala Search/header menu)
3.  Load first game (Edit menu)
loop until dbEnd:
4.  Go to end of game  (end key)
5.  Back up one move. (left arrow key)
6.  Strip moves from beginning (edit/strip/moves from the beginning)
7.  Save game (game/save-replace game)
8.  Load next game (ctl-down key)
    loop end;

I can see where the filter part would be (steps 1 and 2) might be hard to
define.  It would suffice to leave steps 1 and 2 to the user.  Once he had
his filtered database he could use the scripting language for the rest of
it.

If there were a scripting capability that would include language for all
menu commands and key short cuts it would make SCID very powerful for
projects like the above.  Perhaps a separate script interpreter (outside of
SCID) that could send commands to SCID (say, via STDIN) and receive results
back would be simplest to implement.  If SCID would define the command
protocol, that would be enough to get us started (leaving the script
language definition and interpreter to the user community).

On Sun, May 29, 2011 at 9:23 AM, Alexander Wagner
<aw-li...@stellarcom.org>wrote:

> On 04/25/11 15:08, Ingo Schwarz wrote:
>
> Hi!
>
> > how can I add a shortcut for e.g. "Strip:Moves from the Beginning" in
> > the PGN window?
> >
> > I didn't find any possibility to set it in SCID and I'm not crazy enough
> > to modify the "scid.gui" where I find a lot of the other shortcuts.
>
> This is only possible by changing the source code.
>
> I would suggest that you set up a collection of what you think that
> should get a shortcut and we might be able to include them in upcoming
> versions.
>
> --
>
> Kind regards,                /                 War is Peace.
>                             |            Freedom is Slavery.
> Alexander Wagner            |         Ignorance is Strength.
>                             |
>                             | Theory     : G. Orwell, "1984"
>                            /  In practice:   USA, since 2001
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Scid-users mailing list
> Scid-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scid-users
>



-- 
Fred Mellender
Rochester, NY
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to