• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWorkspace openFile:withApplication question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Finding out the user's group
  • Next by Date: Re: Using gcc
  • Previous by thread: Re: Finding out the user's group
  • Next by thread: System Preferences behaviour for NSToolbar
  • Index(es):
    • Date
    • Thread