Hi,
I use this script AppleScript, save it as Application :
onopenthese_volumes
sett_idtouser IDof (system info)
repeatwithiinthese_volumes
if (kind of (info for i without size)) is "Volume" then
set tPath to (POSIX path of i) & ".Trashes/" & t_id
do shell script "/bin/rm -Rf " & (quoted form of tPath) & "/*"
end if
endrepeat
endopen
----------------------------------------------
Drag/Drop Volume(s) on the application.
This script removes the items from your trash (user ID) folder on the volume.
if other users use the volume this script will not delete the items from their trash folder, otherwise the script would need an administrator password to do that.
----------------------------------------------
If you want to eject the volume after emptying the trash, use this script.
onopenthese_volumes
sett_idtouser IDof (system info)
setvolToEjectto {}
repeatwithiinthese_volumes
if (kind of (info for i without size)) is "Volume" then
set tPath to (POSIX path of i) & ".Trashes/" & t_id
do shell script "/bin/rm -Rf " & (quoted form of tPath) & "/*"
set end of volToEject to contents of i
end if
endrepeat
if volToEject is not {} then tell application "Finder" to eject volToEject
endopen