Re: Newbie Progress Bar
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