• 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: Jolly Roger <email@hidden>
  • Date: Thu, 14 Dec 2000 16:34:18 -0600
  • Replyto: email@hidden

on 12/14/2000 1:38 PM, Chad Gray wrote:

> The script errors and says it does not understand my UpdateGauge(). What
> am i doing wrong? Or does anyone know of some code i can look at?

Just off the top of my head: Does the error state that "application 'Finder'
does not understand UpdateGauge()"? If so, then the reason you care getting
this error is that you are telling the Finder to UpdateGauge().

You should refrain from using tell blocks whenever possible to avoid this
and similar problems. Instead of using a tell block to wrap a group of
commands, consider only using tell when absolutely necessary, preferably a
single-line tell such as this:

tell application "Finder" to set myFolderContents to every file of thefolder

This way, you do not send commands to the Finder that are not directly
handled by the Finder.

If that was not the error message you got, then please quote the message
directly.

HTH

JR


References: 
 >Newbie Progress Bar (From: Chad Gray <email@hidden>)

  • Prev by Date: This worked yesterday: File path question
  • Next by Date: Re: scripting the launcher
  • Previous by thread: Newbie Progress Bar
  • Next by thread: Re: Newbie Progress Bar
  • Index(es):
    • Date
    • Thread