I am trying to make a simple script that permanently deletes my flash cache, but whenever I run the script neither of the files are deleted and the applescript window returns the result "". Is this script correct?
EDIT: The second ~/ has been removed
Code:
try
do shell script "rm -rf ~/Library/Preferences/Macromedia/Flash Player/#SharedObjects"
do shell script "rm -rf ~/Library/Preferences/Macromedia/Flash Player/macromedia.com"
end try