Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Use Applescript to keep the desktop clear' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use Applescript to keep the desktop clear
Authored by: darndog on Jan 10, '03 10:00:37AM

Rather than disabling write access or removing/replacing the Desktop with a file, you could use Applescript Folder Actions to add a 'On Add Items' script to the Desktop folder which will wait untill files have downloaded and then shift them to another directory, you could even sort the files by type and have folders for downloaded Pics, Apps, Text and .sit files.

OSX needs to be told that Folder actions are OK before this will work, see the Applescript pages at: for the Authorisation script and some examples (one of which is an 'On Add Items' script).

No chances of some part of the System, Installer or App failing because the desktop did not act as expected.

[ Reply to This | # ]