• 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: Get all files in a folder ignoring invisibles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Get all files in a folder ignoring invisibles?
      • From: Alex Zavatone <email@hidden>
References: 
 >Get all files in a folder ignoring invisibles? (From: Alex Zavatone <email@hidden>)
 >Re: Get all files in a folder ignoring invisibles? (From: Luther Fuller <email@hidden>)
 >Re: Get all files in a folder ignoring invisibles? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Sort folder list descending
  • Next by Date: Re: coerce record to string - does this work in other System languages?
  • Previous by thread: Re: Get all files in a folder ignoring invisibles?
  • Next by thread: Re: Get all files in a folder ignoring invisibles?
  • Index(es):
    • Date
    • Thread