extra für dich…

Show Plain Text
  1. set itemsToDelete to paragraphs of (read "/Users/myUser/Desktop/fileList.txt" as «class utf8»)
  2. repeat with anItem in itemsToDelete
  3.   set itemAlias to POSIX file anItem as alias
  4.   try
  5.     tell application "Finder" to delete itemAlias
  6.   end try
  7. end repeat
----------
Gruss

Stefan