Re: Get all files in a folder ignoring invisibles?
Re: Get all files in a folder ignoring invisibles?
- Subject: Re: Get all files in a folder ignoring invisibles?
- From: Alex Zavatone <email@hidden>
- Date: Thu, 25 Mar 2010 14:53:11 -0500
On Mar 25, 2010, at 2:04 PM, Luther Fuller wrote: On Mar 25, 2010, at 1:03 PM, Alex Zavatone wrote: I can easily get a list of all files in a folder, but I'd like to be able to ignore invisibles option like you can with the choose folder command
I'm currently doing this:
tell application "Finder" set myString to the name of every file of myFolder end tell
Also is there an easy, one line way to convert this list to a return delimited string?
Yes ...
set AppleScript's text item delimiters to {return} tell application "Finder" set myString to (the name of every file of myFolder) as text end tell
and the Finder always ignores invisibles.
Nope. It doesn't in my case. I get a list full of visible and invisible files. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden