• 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: given a folder alias, get aliases to the contained files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: given a folder alias, get aliases to the contained files


  • Subject: Re: given a folder alias, get aliases to the contained files
  • From: "Adam K. Wuellner" <email@hidden>
  • Date: Wed, 17 Nov 2004 15:23:43 -0600

On Nov 17, 2004, at 1:52 PM, Paul Berkowitz wrote:

    tell application "Finder"
        try
            set theFiles to files of aFolder as alias list
        on error -- if only one file 'as alias list' will error!
            set theFiles to files of aFolder as alias as list
        end try
    end tell

Thank you, Paul. This droplet is intended to take a folder of images and stitch them together into a seamless mosaic. If there is only one file, I should throw an error anyway. This nicely kills two birds with one stone.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: given a folder alias, get aliases to the contained files (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Fonts in InDesign CS
  • Next by Date: Re: illustrator .. pdfs
  • Previous by thread: Re: given a folder alias, get aliases to the contained files
  • Next by thread: Focus window
  • Index(es):
    • Date
    • Thread