• 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: Questions questions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions questions...


  • Subject: Re: Questions questions...
  • From: Kai Edwards <email@hidden>
  • Date: Wed, 13 Mar 2002 01:02:57 +0000

on 13 March 2002 12:45 am, I wrote:

> ...For a bit of a speed bump, try this instead:
>
> ----------------------------------------------
> tell application "Finder"
> set fileList to (startup items folder)'s files
> set delList to {}
> repeat with theFile in fileList
> if theFile's creator type = "NDSo" then [NO BREAK]
> set delList's end to theFile
> end repeat
> delete delList
> end tell
> ----------------------------------------------

Um... of course, you might even prefer
the reduced-error version: ;-)

----------------------------------------------
tell application "Finder"
set fileList to (startup items folder)'s files
set delList to {}
repeat with theFile in fileList
if theFile's creator type = "NDSo" then [NO BREAK]
set delList's end to theFile
end repeat
if delList is not {} then delete delList
end tell
----------------------------------------------

Kai

--

**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: A Difference of Months
  • Next by Date: AppleScript 1.8.2b3 for Mac OS 9 and X now available
  • Previous by thread: Re: Questions questions...
  • Next by thread: Re: Questions questions...
  • Index(es):
    • Date
    • Thread