• 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
How do you make a list of aliases?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: How do you make a list of aliases?
      • From: Bill White <email@hidden>
  • Prev by Date: smi-file to launch an app to open the volume
  • Next by Date: Re: How do you make a list of aliases?
  • Previous by thread: Re: loops [naming variables]
  • Next by thread: Re: How do you make a list of aliases?
  • Index(es):
    • Date
    • Thread