Re: Scripting Sherlock
Re: Scripting Sherlock
- Subject: Re: Scripting Sherlock
- From: "Christopher C. Stone" <email@hidden>
- Date: Sat, 9 Dec 2000 00:39:22 -0600
At 16:47 +0000 12/08/00, Simon Forster wrote:
>
A big thank you to Chris Nebel for his comments with regards to improving my
>
repeat statement. My original script took 6 minutes 12 seconds to run when I
>
timed it just now, this has been trimmed to 58 seconds by changing a couple
>
of lines.
>
>
> set x to (every folder of the entire contents of folder "WebSTAR" ,
>
> of the startup disk whose name begins with "~")
>
> repeat with i in x
>
> set end of folderList to i as string
>
> end
___________________________________________________________________________
Hello Simon,
You might try something like this:
set fldr to alias "Minerva:System Folder:Eudora Folder:Mail Folder:"
set AppleScript's text item delimiters to {return}
tell application "Finder"
set fLst to (every file of entire contents
of fldr whose name begins with "Archive") as string
-- NOTE the two lines above should be one.
end tell
set fLst to text items of fLst
set AppleScript's text item delimiters to {""}
fLst
Best Regards,
Chris