Apple Script Delete File
I would like to delete a file after I have imported the information from a daily download to drop box. In reading several other posts it seems not that difficult however I have not been able to get it to work. One of the posts has this formula
tell application "Finder" delete file "path:to:file" empty trash end tell tell application "Whatever" to activate
I have not been successful with even the simplest of paths always getting an error. I am on os 1o.6.8 with FM11 advanced
the file path to delete is "MyHD/Bookalaka/Dropbox/Downloads/Wine_Log2012.xls"
I have also tried a test file
tell application "Finder"
delete file "MyHD/Desktop/test.fp7"
Thanks for the help.