Plaid Cow Solutions’ AppleScripts |
plaidcow.net • applescript • moo! • triangle • writings |
Named New Folder will allow for a new folder to be created in the current folder with an asked for name. If files are selected in the current folder, it will also allow for grouping them in the new folder.
-- Named New Folder v1.0 -- Plaid Cow Solutions <finder-as@plaidcow.net> -- http://www.plaidcow.net/ tell application "Finder" activate set theResult to display dialog "New Folder Name:" default answer "" buttons {"Cancel", "Create"} default button 2 if button returned of theResult is "Create" then set loc to (insertion location) set fName to (text returned of theResult) make new folder at loc with properties {name:fName} select folder fName of loc end if end tell
All pages, images and downloads are ©2002-2004 by Randall Million and Plaid Cow Solutions
and subject to the Terms and Conditions of the Plaid Cow Solutions Software License (PCSSL)