• 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
Stuffit Commands and Lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stuffit Commands and Lists


  • Subject: Stuffit Commands and Lists
  • From: Pier Kuipers <email@hidden>
  • Date: Wed, 20 Jun 2001 23:54:41 +0100

Hi all,

Is there a quick way to coerce a list of files to a list of aliases?

I just wrote a little script that will compress a folder prior to
backup, containing the following snippet, which I find a bit
cumbersome...:

choose folder with prompt "Please select a folder to be compressed:"
tell application "Finder"
set theContents to (every item of the result) as list
set x to count theContents
set p to 1
set theFilesToStuff to {}
repeat with i from 1 to x
set theFilesToStuff to theFilesToStuff & (item p of theContents as alias)
set p to p + 1
end repeat
end tell

Any nice ideas out there?

Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *

2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754

http://www.visualid.com


  • Prev by Date: Re: BBEdit (no subject)
  • Next by Date: Re: (OFF) What's Up With Other Lists ?
  • Previous by thread: Re: BBEdit (no subject)
  • Next by thread: Re: Stuffit Commands and Lists
  • Index(es):
    • Date
    • Thread