On Sun, Nov 26, 2006 at 12:00:32AM +0100, Abdelrazak Younes wrote:

> [EMAIL PROTECTED] wrote:
> > On Sat, 25 Nov 2006, Abdelrazak Younes wrote:
> > 
> >> No, replacing with double quotes does not work either. But at least LyX is
> >> started and no Buffer is opened.
> >>
> >> I've tried that instead but LyX crashes :-/
> >>
> >> lyx-qt4.exe UserGuide.lyx -x "command-sequence buffer-begin ; repeat 100
> >> screen-down ; lyx-quit"
> > 
> > I think command.com has no idea about quoting arguments. Instead it is 
> > probably up to the program to notice that an argument starts with a '"' 
> > and then combine subsequent arguments... *sigh*. At least this is my 
> > experience from a long time ago with .bat-files and some program on 
> > Windows (possibly 98).
> 
> Indeed, might be a good time to re-install cygwin.

While I could only endorse such decision ;-), I have to say that the
following works in a cmd terminal (I tested it with the native build
by Joost):

lyx -x "command-sequence file-open UserGuide.lyx ; repeat 10 screen-down ; 
lyx-quit"

-- 
Enrico

Reply via email to