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

_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to