Selecting Multiple SubFolders at Once

Hello,
I need help including in this AppleScript the ability to select more than one folder at a time. I’d appreciate any feedback on this. Thanks


set tFolder to choose folder with prompt "Choose a folder to delete, including contents"
tell application "Finder"
	delete (files of tFolder)
	delete tFolder
end tell

Hi ederoos,

Look at the Standard Additions dictionary for:

g’day

set tFolder to choose folder with prompt "Choose a folder to delete, including contents" with multiple selections allowed
tell application "Finder"
	delete (files of tFolder)
	delete tFolder
end tell

you will still need to hold down the “command key”

edit: sorry kel1 didn’t see your post

Thanks for the helpful response.
After looking at this a little more I think I’d rather employ someone here to write a droplet script that performs the following and dumps the contents into the local trash without automatically emptying.
http://www.wrightbg.com/applescript/applescript_01.jpg

I’m sure its simple enough but just don’t have the time to pursue learning myself. If anyone here is interested in the task but wants to get paid I can be reached at ederoos@wrightbg.com

Thanks