I need to capture as text all of the filenames in a particular folder so that I can save the list in a BBEdit file. Is this doable? Thanks!
Hi,
of course this is doable. This is a quite easy exercise for AppleScript
set theFolder to choose folder
set itemNames to list folder theFolder without invisibles
set {TID, text item delimiters} to {text item delimiters, return}
set itemNames to itemNames as text
set text item delimiters to TID
tell application "BBEdit"
activate
make new document
set contents of document 1 to itemNames
end tell
Thank you. It works like a charm!