AnsweredAssumed Answered

Deleting Folder on Desktop Files using "Perform Applescript".

Question asked by drjeffhdc on Aug 23, 2011

Title

Deleting Folder on Desktop Files using "Perform Applescript".

Post

I am trying to delete files in a folder called 'PADropbox'on the desktop using a "Perform Applescript" calculated applescript.

The apple script works perfectly in the applescript editor, but not from the script step.  Here is the code snippet I put in the calculated applescript:

"set tFolder to alias " & Get ( DesktopPath ) & "\":PADropbox:\"

tell application \"Finder\" delete (files of tFolder) end tell"

Any help would be greatly appreciated

 

Regards,

 

Jeff

Outcomes