• 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
Re: Associate icon with file ext. / quick look
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Associate icon with file ext. / quick look


  • Subject: Re: Associate icon with file ext. / quick look
  • From: Sean McBride <email@hidden>
  • Date: Mon, 22 Oct 2012 11:54:07 -0400
  • Organization: Rogue Research Inc.

On Wed, 17 Oct 2012 13:38:45 +0200, Jean Suisse said:

>My scientific cocoa app (10.6-10.8) records acquired data from devices
>and store them in human-readable UTF8 text files that have specific
>extensions (different from .txt). I have two questions related to file
>extensions, default application, icons and preview in quick look to
>submit to your expertise.
>
>The app that collects and stores the data is not the same as the one
>that is used to view the data (third-party text editor).
>I have found how to tell launch services to open the files with the
>third-party text editor, but I can't find how to associate the icon of
>my app with all the files extensions I use. How can I do that using
>cocoa or a shell script ? – this is my first question.
>
>Secondly, how can I tell quick look to preview the-said files just like
>it would any other text file ?

Jean,

From the sounds of it, it might be best if you just use ".txt" for your human readable text files.  QuickLook will then generate previews, and the user's preferred text editor will open the file when double clicked.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Associate icon with file ext. / quick look
      • From: Mike Abdullah <email@hidden>
References: 
 >Associate icon with file ext. / quick look (From: Jean Suisse <email@hidden>)

  • Prev by Date: Re: How to programmatically detect that Mission Control is running?
  • Next by Date: Re: How to programmatically detect that Mission Control is running?
  • Previous by thread: Re: Associate icon with file ext. / quick look
  • Next by thread: Re: Associate icon with file ext. / quick look
  • Index(es):
    • Date
    • Thread