@oneOeight:
in post #60 hast du nur
eine Zeile als veränderungsbedürftig benannt:
>Dann noch das Script dafür ändern:
Code:
do shell script "sudo /opt/local/sbin/fatsort -n " & device
und in post #106 hab ich doch mein verändertes script hier präsentiert.
Wie auch immer, jetzt probier ich's also nochmal: fatsort script#5
on open DropList
repeat with objectRef in DropList
set diskinfo to quoted form of (do shell script "diskutil info " & quoted form of POSIX path of objectRef)
--display dialog diskinfo
if "msdos" is in diskinfo then
set device to do shell script "echo " & diskinfo & " | awk '{print $6}'"
--display dialog diskinfo & return & device
do shell script "diskutil unmount " & device
do shell script "sudo /opt/local/sbin/fatsort -n " & device
do shell script "diskutil mount " & device
else
beep
display alert "Error:" & return & return & objectRef & " is not a msdos device."
end if
end repeat
end open