• 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
Best way to 'open' a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to 'open' a file


  • Subject: Best way to 'open' a file
  • From: Chad Armstrong <email@hidden>
  • Date: Tue, 19 Oct 2004 18:14:10 -0500

In Cocoa, what is the recommended way to try and 'open' a file. If I am at the command line and type: open some_file_name, then the file will generally open with its associated default program (MS Word, Safari, TextEdit, etc.). I want to try and use this same default behavior to open a file, but not necessarily have to specify which application, such as specifying BBEdit to open up a .txt file.

I've used the method to open a file using a particular application, so I'm trying to see if there is a more general approach to this problem.

Regards,

Chad

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Best way to 'open' a file
      • From: j o a r <email@hidden>
    • Re: Best way to 'open' a file
      • From: Amar Sagoo <email@hidden>
  • Prev by Date: Re: NSToolbar and Metal
  • Next by Date: Re: Best way to 'open' a file
  • Previous by thread: Re: NSToolbar and Metal
  • Next by thread: Re: Best way to 'open' a file
  • Index(es):
    • Date
    • Thread