discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vindaloo - open a PDF from the command line


From: Fred Kiefer
Subject: Re: Vindaloo - open a PDF from the command line
Date: Wed, 14 Apr 2010 22:59:13 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-1.1.1 Thunderbird/3.0.4

Am 14.04.2010 15:53, schrieb Martin Dietze:
> I am not quite aware about how GS programs deal with command
> line options. While I can open a PDF file in Vindaloo from
> GWorkspace just fine, running 'openapp Vindaloo.app /path/to/foo.pdf'
> just opens an empty Vindaloo.app, no file is loaded. 
> 
> Anyone knows how to do this, or can it not be done?

If you provide this file as parameter to the "--NSOpen" option it should
work.
There are quite a few standard options for document based GNUstep
applciations. If you have a look at NSApplication -finishLaunching you
can easily find out about them.

Hope this helps
Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]