Delete from desktop (won't allow)
tell application "Finder"
delete (folders of desktop whose name does not start with "key" or name does not start with "Hot")
end tell
How comes this won't work? It should delete everything on my desktop except the folders Hot and key.
Says they can't as its owned by the system?
iMac, Mac OS X (10.6.8)