Ein paar Ordner auswählen und die jeweils größte Datei wird in den ersten Ordner bewegt… Ich kann es gebrauchen, sag’ aber nicht weshalb ;-P
Code zum markieren einmal anklicken Code im Skript-Editor öffnen
tell application “Finder”
set these to selection
set folderkind to kind of folder 1 of startup disk
set movetothisfolder to “”
repeat with this in these
if kind of this is folderkind then
if movetothisfolder = “” then
set movetothisfolder to this
end if
set these2 to every item of this
set biggestsize to 0
repeat with this2 in these2
if size of this2 > biggestsize then
set biggestsize to size of this2
set movethis2 to this2
end if
end repeat
move movethis2 to movetothisfolder
end if
end repeat
end tell