Hi all,

With respect to my previous posting regarding emptying Safari's Cache automatically. I have tried a script (found on the internet) that invokes the 'empty cache' option on Safari. I was going to put it as an application in the logout folder in the student's workspace. It seems to read well but comes up with an error. Here is the script:

tell application "Safari"
        activate
        tell application "System Events"
                tell process "Safari"
                        click menu item "Empty Cache..." of menu "Safari" of 
menu bar 1
                end tell
        end tell
end tell

However it returns the error:

System Events got an error
NSReceiverEvaluationScriptError 4

A search on the internet reveals the error stating "the object doesn’t support the command that was sent to it"

Can any one put me on the right track?

                      regards
                      Eugene