I did not change anything in my computer and all of a sudden this script stopped working.
now I get: File/path/to/folder was not found!
anybody has an idea as to why?
tell application "Microsoft Outlook" set selectedMsg to (current messages) set selectedMsg to item 1 of result set msgAttachment to attachments of selectedMsg set msgAttachment to result's item 1 set attachmentName to name of msgAttachment set attachmentFile to ((path to desktop) & attachmentName) as text save msgAttachment in attachmentFile end tell delay 3 -- set submitfolder to "OS E:Users:e:Desktop:" as alias set collectionfolder to "/Volumes/Data E/Consulting F&M/Telephone Switch Record" as alias tell application "Finder" to move (every item whose name contains ("CSV")) to collectionfolder delay 2 -- tell application "Finder" to move (every item whose name contains ("CSV")) to trash --
I have no clue how to fix it, tried many things, path to folder is still OK, folder is still there, etc.
any help appreciated.