• 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: Is there any way to simplify this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: Is there any way to simplify this?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Is there any way to simplify this?
  • Next by Date: Re: Is there any way to simplify this?
  • Previous by thread: Re: Is there any way to simplify this?
  • Next by thread: Re: Is there any way to simplify this?
  • Index(es):
    • Date
    • Thread