• 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: Creating a list of alias from folder contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a list of alias from folder contents


  • Subject: Re: Creating a list of alias from folder contents
  • From: Andy Bachorski <email@hidden>
  • Date: Mon, 27 Jan 2003 09:14:48 -0800

on Sat, 25 Jan 2003 16:12:08, "Scott P. Richert" <email@hidden> wrote:
> To: email@hidden
>
> ...
>
> The question, then, is: What is the most efficient way to generate
> psFileName as a list of alias from a folder full of files? Do I have
> to iterate through the folder contents, adding an alias to the end of
> the list with each iteration? Or is there some way to create the
> entire list of alias with one quick command? If so, it's escaping me.
> Any code would be greatly appreciated.

try
tell app "finder"
set aliasList to files of folder someFolder as alias as list
end
on error from fromValue
set aliasList fo fromValue
end


andy b
_______________________________________________
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.

  • Prev by Date: Re: returning math answers given a string
  • Next by Date: Simple Script
  • Previous by thread: Re: Creating a list of alias from folder contents
  • Next by thread: Classic and network volumes
  • Index(es):
    • Date
    • Thread