Stuffit Commands and Lists
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