I'm using the Apple Script Editor that came with Mac System 7.5.5 and trying to run a simple program:
say "Starting to empty the trash."
tell application "Finder"
empty trash
end tell
say "Finished emptying the trash."
But when I click in the run button, I got this:
I got this code from the book AppleScript Language Guide from Apple, published in 1999.