- Registriert
- 29.01.06
- Beiträge
- 290
hallo leute,
also ich möchte, dass das Script alle datein sortiert.
Und so lautet mein Script:
tell application "Finder"
set flist to (every file of the desktop)
repeat with f in flist
if file type of f is "jpg " or "pdf " or "script" or "gif " or "aifc" or "doc " or "icns" then
move f to the trash
end if
end repeat
end tell
Dummerweise funktioniert es nicht!
Was habe ich falsch gemacht?
the x-master
also ich möchte, dass das Script alle datein sortiert.
Und so lautet mein Script:
tell application "Finder"
set flist to (every file of the desktop)
repeat with f in flist
if file type of f is "jpg " or "pdf " or "script" or "gif " or "aifc" or "doc " or "icns" then
move f to the trash
end if
end repeat
end tell
Dummerweise funktioniert es nicht!
Was habe ich falsch gemacht?

the x-master