• 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: Adding Document Types Programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding Document Types Programmatically


  • Subject: Re: Adding Document Types Programmatically
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 6 May 2004 19:51:26 +0200

Shaun,

On 6.5.2004, at 19:02, Shaun Wexler wrote:

> My first thought was to simply modify the app bundle's Info.plist and
> notify LS of the change using the new 10. API, but that would require
> admin priv's to remain persistent. Ideas?

No, don't change /Applications: that would cripple security, and one
day may serve as an open door for viri.

Instead, I would try to use something like the well-known ancient way
of doing dynamic Services: add a (more or less) empty bundle with just
the appropriate Info.plist into ~/Applications, or some subfolder.
Currently it would probably need some extra code in there to redirect
the requests to the target application (being thus effectively
virus-prone too), but with some relatively simple tweaking from Apple
it may work automatically, without any user-domain code, and like a
charm.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


References: 
 >Adding Document Types Programmatically (From: Jeff Grimshaw <email@hidden>)
 >Re: Adding Document Types Programmatically (From: Allan Odgaard <email@hidden>)
 >Re: Adding Document Types Programmatically (From: Georg Tuparev <email@hidden>)
 >Re: Adding Document Types Programmatically (From: Shaun Wexler <email@hidden>)

  • Prev by Date: Sorting via intValue (Was NSValueTransformer subclass doesn't recognise copyWithZone.)
  • Next by Date: Re: Binding Question
  • Previous by thread: Re: Adding Document Types Programmatically
  • Next by thread: Re: Adding Document Types Programmatically
  • Index(es):
    • Date
    • Thread