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: Ingolf Jandt
Subject: Re: Vindaloo - open a PDF from the command line
Date: Wed, 14 Apr 2010 23:59:50 +0200

Why not use gopen? Is its use somehow discouraged? Seems to me the "natural" choice for opening documents.

Am 14.04.2010 um 22:59 schrieb Fred Kiefer:

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

Attachment: PGP.sig
Description: Signierter Teil der Nachricht


reply via email to

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