X

<b>AppleScript works-around double-shutdown problem

<b>AppleScript works-around double-shutdown problem

CNET staff
Hirobumi Gotoh claims that placing the following AppleScript script in his Shutdown Items folder solved the "double shutdown" problems he was having:

tell application "Finder"

repeat with x in list folder temporary items folder

set y to (temporary items folder as text) & x
delete file y

end repeat
empty trash

end tell

Update: Rodney Mische Gothelf reports that he tried the script and that it did indeed empty the Trash, but it did not prevent the bug.

Update: Mark Nelson found that the script worked if he was still connected to the Internet at Shut Down. If PPP has already been disconnected, the problem still occurred.