• 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 if, then, else
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Li'l help with if, then, else


  • Subject: Re: Li'l help with if, then, else
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 1 Mar 2001 16:25:36 -0800

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

>Now, in my effort to streamline my script, I wanted to create a subroutine
>of those three copy commands so I could call them more efficiently. Can
>someone tell my why my subroutine isn't working? The script executes
>seemingly ok, but never performs the copy commands assigned to the
>subroutine.
>
>tell application "Finder"
> if folder "Utilities" of startup disk exists then
> try
> copyParts

You need

Now, in my effort to streamline my script, I wanted to create a subroutine
of those three copy commands so I could call them more efficiently. Can
someone tell my why my subroutine isn't working? The script executes
seemingly ok, but never performs the copy commands assigned to the
subroutine.

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

--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: Re: Where is the Searchable Applescript-users Archive?
  • Next by Date: [Slightly OT] macscripter.net
  • Previous by thread: RE: Li'l help with if, then, else
  • Next by thread: Re: Li'l help with if, then, else
  • Index(es):
    • Date
    • Thread