Re: Questions questions...
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.