Re: How to list folder contents and show only certain file types ...
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: Charles Heizer <email@hidden>
- Date: Mon, 2 Jun 2003 10:53:02 -0700
Thanks to everyone who replied.
I'm using Mac OS X so I'm more inclined to file extensions.
Paul, this worked perfectly, and I now see what I was doing wrong.
Thanks again,
- Charles
On Monday, June 2, 2003, at 09:24 AM, Paul Skinner wrote:
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.
_______________________________________________
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.