Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to empty one user's trash on one drive' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to empty one user's trash on one drive
Authored by: jaguarcy on Mar 13, '07 12:21:50PM
Yes, and it's fairly straight forward:

set vol_alias to (dropped_item as alias)
tell application "Finder"
	if (ejectable of vol_alias is true) then
		eject vol_alias
	end if
end tell


[ Reply to This | # ]