• 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: Jean Suisse <email@hidden>
  • Date: Mon, 22 Oct 2012 18:49:09 +0200

Thank you for your reply. I will try that.
Jean


On 22 oct. 2012, at 18:21, Mike Abdullah wrote:

>
> On 22 Oct 2012, at 16:54, Sean McBride wrote:
>
>> 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.
>
> I believe declaring your file format as conforming to public.plain-text will automatically gain that ability too.


_______________________________________________

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


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

  • Prev by Date: Re: Associate icon with file ext. / quick look
  • Next by Date: Re: Parsing XML Files Consisting of a Sequence of Top Level Elements
  • Previous by thread: Re: Associate icon with file ext. / quick look
  • Next by thread: How to send fetchrequest to main context from a local context on a separate thread?
  • Index(es):
    • Date
    • Thread