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

Click here to return to the 'A folder action solution...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A folder action solution...
Authored by: robg on Jul 26, '04 09:44:16AM

From an anonymous submitter (this was sent as a hint):

I know this should be in the comments, but I think this is big enough to be a hint of its own. The fact that Safari will not auto-close the downloads window is my only regret on leaving Camino!

Basically, I wrapped the script in the following code (from an existing folder action)
on adding folder items to this_folder after receiving these_items
end adding folder items to

I then saved the script in /Library/Script/Folder Action Scripts

I selected Configure Folder Actions from the contextual menu after right-clicking on the desktop.

From the Folder Action Setup app I enabled folder actions, added the Desktop folder (my downloads folder), selected the desktop and added a script (the modified safari download script was listed there) and quit the app.

Now when a download starts, the downloads window opens up and closes within a few seconds. Also, the script is only executed when a download happens (or when something is copied to the desktop, but as there no error (aside from undoing the expose Desktop action) this is really not a problem. This does not interrupt the download process and saves me from closing the darned window manually.

I can always look at the download icon to track progress on large downloads.

Many thanks to pascalpp! Glad to return the favor by pointing to Folder Actions! =)

[ Reply to This | # ]