extra für dich…
Show Plain Text
- set itemsToDelete to paragraphs of (read "/Users/myUser/Desktop/fileList.txt" as «class utf8»)
- repeat with anItem in itemsToDelete
- set itemAlias to POSIX file anItem as alias
- try
- tell application "Finder" to delete itemAlias
- end try
- end repeat