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: Yvan KOENIG <email@hidden>
- Date: Thu, 25 Mar 2010 21:09:40 +0100
All the given responses appears as really complicated ones.
The function List folder available in Standard Additions does the trick.
(* build a path to a folder *) set p2d to path to desktop (* returns an alias *) (* and now, ask Standard Additions to do the job *) set fList to list folder p2d without invisibles
(* If you want a string with return between names *) set tlist to my recolle(fList, return)
--=====
on recolle(l, d) local t set AppleScript's text item delimiters to d set t to l as text set AppleScript's text item delimiters to "" return t end recolle
--=====
Yvan KOENIG (VALLAURIS, France) jeudi 25 mars 2010 21:08:34
|
_______________________________________________
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