[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
app wrappers question
From: |
Andreas Höschler |
Subject: |
app wrappers question |
Date: |
Fri, 25 Nov 2005 18:29:28 +0100 |
Hello all,
I have the following Info-gnustep.plist in netscape.app of my
app_wrappers
{
NSExecutable = "/usr/sfw/bin/mozilla";
NSRole = "Viewer";
NSIcon = "netscape.tiff";
XAppWrapper = YES;
NSTypes = (
{
NSUnixExtensions = ( "html" );
NSIcon = "FileIcon_.html.tiff";
},
{
NSUnixExtensions = ( "htm" );
NSIcon = "FileIcon_.html.tiff";
}
);
}
I can open a given html-file with
/usr/sfw/bin/mozilla /home/ahoesch/test.html
However, when I call
[[NSWorkspace sharedWorkspace] openFile:@"/home/ahoesch/test.html"];
mozilla is started but it does not load test.html but www.sun.com. What
am I doing wrong? I haven't understood this -GSOpenFile stuff.
Thanks!
Regards,
Andreas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- app wrappers question,
Andreas Höschler <=