• 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: Scripting Sherlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Scripting Sherlock (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: continuation character [was Folder name from alias]
  • Next by Date: scripting Photoshop
  • Previous by thread: Re: Scripting Sherlock
  • Next by thread: Script Server?
  • Index(es):
    • Date
    • Thread