• 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: Where should AppleScripts reside?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where should AppleScripts reside?


  • Subject: Re: Where should AppleScripts reside?
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 20 Jan 2008 13:07:56 +0100

On 20.01.2008, at 12:52, Uli Kusterer wrote:
It's a trade-off, as always: If you can, make your app self- contained, but if it has user-serviceable parts, put them in one of the recommended folders inside Library, so users can customize them individually.


Oh, forgot to mention: There is another reason for not putting your customizable stuff in /Applications: Usually, only admin users have write access there.

Also, one can take advantage of the fact that there are several library folders: One for each Mac, one for each user, etc.

So you can use the user's folder to override or augment stuff higher up the hierarchy. I wrote a generic plugin-loading class that first searches in MyApp.app/Contents/Plug-ins, then in /Library/Application Support/MyApp/Plug-ins, then in ~/Library/Application Support/MyApp/ Plug-ins etc. That way, I can put default, "built-in plugins" (i.e. modules of my app that just use the plugin protocol to do their work) in my app, where they can't be removed or renamed. An admin can install plugins the whole company needs in /Library/... and the user herself can install plugins she wants in ~/Library/...

Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de




_______________________________________________

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: 
 >Where should AppleScripts reside? (From: "Devraj Mukherjee" <email@hidden>)
 >Re: Where should AppleScripts reside? (From: Michael Watson <email@hidden>)
 >Re: Where should AppleScripts reside? (From: Michael Watson <email@hidden>)
 >Re: Where should AppleScripts reside? (From: "Wesley Smith" <email@hidden>)
 >Re: Where should AppleScripts reside? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Where should AppleScripts reside?
  • Next by Date: Dashboard-like canvas
  • Previous by thread: Re: Where should AppleScripts reside?
  • Next by thread: Help
  • Index(es):
    • Date
    • Thread