• 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: Li'l Help with my if, then, else statement?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Li'l Help with my if, then, else statement?


  • Subject: Re: Li'l Help with my if, then, else statement?
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 1 Mar 2001 14:39:46 -0800

On 3/2/01 2:02 AM, T.J. Mahaffey <email@hidden> wrote:

>The setup works beautifully, but if the "Utilities" folder IS present, it
>still tries to make on and errors out due to there being a folder of the
>same name already.

That's because you have to specify where to find the utilities folder.

Try this:

tell application "Finder"
if folder "Utilities" of startup disk exists then
try

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: applescripting Machine Name
  • Next by Date: Re: Where is the Searchable Applescript-users Archive?
  • Previous by thread: applescripting Machine Name
  • Next by thread: Re: Li'l Help with my if, then, else statement?
  • Index(es):
    • Date
    • Thread