Created
June 13, 2013 13:57
-
-
Save judismith/5773874 to your computer and use it in GitHub Desktop.
Name of subfolders to text file as list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" | |
set AppleScript's text item delimiters to " | |
" | |
set myProjects to get name of folders of folder "Macintosh HD:Users:judis:Google Drive:Matters:" as text | |
set thePath to (path to documents folder as text) & "projects.csv" | |
set NewFile to open for access file thePath with write permission | |
write myProjects to NewFile as «class utf8» | |
close access NewFile | |
set AppleScript's text item delimiters to " " | |
myProjects | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment