Re: Is there any way to simplify this?
Re: Is there any way to simplify this?
- Subject: Re: Is there any way to simplify this?
- From: Michelle Steiner <email@hidden>
- Date: Fri, 19 Jan 2001 23:56:59 -0800
On 1/19/01 11:34 PM, Shane Stanley <email@hidden> wrote:
>
> the next block is
>
>
>
> tell application "Finder" to set totalFiles to count every file of
>
> thefilepath
>
> if totalFiles is greater than Maxfiles then
>
> set counter to count thefilelist
>
> tell application "Finder" to move items of thefilelist to the trash
>
> end if
>
>
I have to ask -- why not just put all this in one "tell application
>
"Finder"" construct?
Because it reads cleaner to me this way.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------