• 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: Pathname Weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Pathname Weirdness (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Exchange Calendar Access & Manipulation
  • Next by Date: Re: Pathname Weirdness [Solved]
  • Previous by thread: Re: Pathname Weirdness
  • Next by thread: Re: Pathname Weirdness [Solved]
  • Index(es):
    • Date
    • Thread