How do you make a list of aliases?
How do you make a list of aliases?
- Subject: How do you make a list of aliases?
- From: Jim Brandt <email@hidden>
- Date: Sat, 16 Feb 2002 08:54:26 -0600
How do you make a list of aliases?
I need to stuff a group of files into an archive. According to the
dictionary for StuffIt Deluxe, the syntax for doing this is:
stuff a list of alias into reference
I've tried:
tell application "Finder"
set infomac to "Macintosh HD:InfoMac:"
set fileList to every file in folder infomac
end tell
which sets fileList to a list of files, as expected. This, however, isn't what
I need to create the archive.
But if I try:
tell application "Finder"
set infomac to "Macintosh HD:InfoMac:"
set fileList to (every file in folder infomac) as alias
end tell
I get an error saying "Can't make {alias "file1", alias "file2"} into a alias"
Is there a trick to making a list of aliases?
Jim Brandt
_______________________________________________
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.