• 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: How to list folder contents and show only certain file types ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to list folder contents and show only certain file types ...


  • Subject: Re: How to list folder contents and show only certain file types ...
  • From: Paul Skinner <email@hidden>
  • Date: Mon, 2 Jun 2003 12:24:37 -0400

On Monday, June 2, 2003, at 12:03 PM, Charles Heizer wrote:

Hello,
I'm trying to list the contents of a folder which I can do successfully, but what I really want to show is only the files which contain .jpg and .gif file extensions. I can not seem to get it to work. Does anyone have an example of this they would be willing to share?

Thanks,

- Charles

Similar to this...

tell application "Finder"
name of every file of (choose folder) whose name contains ". gif" or name contains ".jpg"
end tell

Paul
_______________________________________________
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 to list folder contents and show only certain file types ...
      • From: Charles Heizer <email@hidden>
References: 
 >How to list folder contents and show only certain file types ... (From: Charles Heizer <email@hidden>)

  • Prev by Date: 9-X System Font Compatibility
  • Next by Date: Re: How to list folder contents and show only certain file types ...
  • Previous by thread: How to list folder contents and show only certain file types ...
  • Next by thread: Re: How to list folder contents and show only certain file types ...
  • Index(es):
    • Date
    • Thread