• 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: Newbie Progress Bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Progress Bar


  • Subject: Re: Newbie Progress Bar
  • From: JollyRoger <email@hidden>
  • Date: Sat, 16 Dec 2000 11:21:14 -0600

on 12/14/2000 5:27 PM, Goodman, Steve at email@hidden wrote:

> When calling a subroutine from a subroutine you have to tell AS that it is a
> part of the script hence the "of me". Should fix it for ya.

It has absolutely nothing to do with calling a handler from within another
handler. You can call any handler from any other handler in a script
without using "of me". That's not the problem.

Note: In Applescript, we call them "handlers" not "subroutines".

The reason Chad was having trouble was that he was issuing the call inside
of a Finder tell block.

"of me", "tell me to", and "my" are workarounds, and will get him by in a
pinch. In effect, what that does is embed another tell inside of the Finder
tell. If he were to keep using workarounds in this script over time, one
can foresee that eventually he may have 3 or 4 levels of embedded tells in a
handler. That's not good scripting practice.

JR


  • Follow-Ups:
    • Re: Newbie Progress Bar
      • From: Shane Stanley <email@hidden>
References: 
 >RE: Newbie Progress Bar (From: "Goodman, Steve" <email@hidden>)

  • Prev by Date: Re: Newbie Progress Bar
  • Next by Date: RE: Newbie Progress Bar
  • Previous by thread: RE: Newbie Progress Bar
  • Next by thread: Re: Newbie Progress Bar
  • Index(es):
    • Date
    • Thread