On Aug 14, 2007, at 1:31 PM, Mark Lively wrote:
> On Aug 14, 2007, at 12:55 PM, jeff donovan wrote:
>
>>
>> thanks for the reply Bill,
>>
>> yes close. How can I
>>
>> set folderNames to ( read from file.txt ) ?
>>
> set folderNames to every paragraph of (read (choose file))
>
> where the file has one folder name per line.
>
thanks that worked great!
set folderNames to every paragraph of (read (choose file))
repeat with aName in folderNames
tell application "Finder"
make new folder with properties {name:aName}
end tell
end repeat