NSWorkspace openFile:withApplication question
NSWorkspace openFile:withApplication question
- Subject: NSWorkspace openFile:withApplication question
- From: Jay Teo <email@hidden>
- Date: Fri, 28 Nov 2003 01:05:08 -0800
I have 2 apps A and B. From app A, I want to open a file in app B, and
if app B is absent, I'd like to display a prompt with an option to
download app B. I'm using openFile:withApplication and it works fine
on Panther. When app B is not available, openFile:withApplication
returns NO, so app A is able to handle that scenario correctly.
However when I run app A on Jaguar and app B is not available,
openFile:withApplication: opens the file (which is a PNG image) in
Preview instead of app B and returns YES. Why does it behave this way
in Jaguar? Any suggestions to workaround for this would be much
appreciated.
Thanks.
-Jay Teo
Yellow Mug Software
http://www.yellowmug.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.