• 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: how can script bundles store extra stuff?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can script bundles store extra stuff?


  • Subject: Re: how can script bundles store extra stuff?
  • From: has <email@hidden>
  • Date: Mon, 25 Jul 2005 10:49:21 +0100

Matt Neuburg wrote:

> So the situation is still a mess: the OSA API still doesn't provide client
> applications with all the tools needed to do this stuff properly, and user
> scripts still can't rely on 'path to me' and 'path to current application' to
> return sensible results in every application

Right - it's the inconsistency that's the maddening part.

Absolutely. There's some fine design in OSA, but this is one of the areas where I wish I had a time machine so I could go back and clatter its designers with a big ol' clue stick. The filesystem is simply an extension of the program's namespace, and ought to be treated as such. Unix languages understand this and stuff like relative module imports are second-nature to them, which is why it's even more annoying trying to OSA-ify them as it deprives you of features you're used to having.

BTW, if all else fails, consider putting auxiliary files in a fixed location like Application Support which AS can reliably get a path to in any situation.

has
--
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: obligatory snipe [was Re: how can script bundles store extra stuff?]
  • Next by Date: Re: obligatory snipe [was Re: how can script bundles store extra stuff?]
  • Previous by thread: Re: how can script bundles store extra stuff?
  • Next by thread: Re: Filenames... Truncation to 32chars. and Replacing TroublesomeText
  • Index(es):
    • Date
    • Thread