0 Replies Latest reply on Aug 23, 2011 3:47 PM by drjeffhdc

    Deleting Folder on Desktop Files using "Perform Applescript".

    drjeffhdc

      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