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


Click here to return to the 'Trash Can still looks full (This is the fix)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Trash Can still looks full (This is the fix)
Authored by: applecompsrule on Jun 21, '02 07:25:07PM


I noticed that when I used the applescript to empty the trash that the trash can icon still appear full. To fix this I simply add this to the end of the script:


tell application "Finder"
empty
end tell



This tells the Finder to empty the trash and makes the trash can look empty.

[ Reply to This | # ]

Trash Can still looks full (This is the fix)
Authored by: Mr Tea on Feb 12, '03 05:23:57PM

But... the empty command can sometimes display a progress bar even after the shell scripts have run.

Instead, conclude the script with this line:

tell application "Finder" to update the trash.


Regards,

Mr Tea



[ Reply to This | # ]