Re: Pathname Weirdness
Re: Pathname Weirdness
- Subject: Re: Pathname Weirdness
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 08 May 2006 11:48:17 -0700
- Thread-topic: Pathname Weirdness
On 5/8/06 10:44 AM, "Christopher Nebel" <email@hidden> wrote:
> Incidentally, System Events can also do this, but (a) has no scruples
> about invisible items and (b) knows where the preferences folder is
> itself, so you can simply say this:
>
> tell application "System Events"
> if not exists folder ".aPCheck" of preferences folder then ...
> end tell
>
Much simpler, and the best way, as long as your script is intended for
Panther or later. (I'm assuming that 'preferences folder' was available in
Panther - or is that Tiger only?) System Events had some issues back in
Jaguar...
--
Paul Berkowitz
_______________________________________________
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