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


Click here to return to the 'significant improvement to this script:' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
significant improvement to this script:
Authored by: SOX on Nov 22, '03 01:24:57PM
FolderOrgX automagically compartmentalizes your dowloads folder so it's organized by the date of the download. But it has some major drawbacks. I changed two lines in this script to fix two nuiscances this caused.

In its original form when you download two files with the same name or the same file twice, the script fails. Perhaps worse, when you download a file that safari can then open such as a .mov, .pdf, .dmg or .sit the folder action causes an error and safari does not open the item. I fixed this by instead of having the folder action move the file to a dated folder, it just creates an alias to the original in the dated folder but leaves the original in-place. Now safari can properly open the files and properly add suffixes to identically named files. to make this change open your copy of FolderOrg X in applescript editor and find the following two lines:


move file the_file to folder todaysfolder
set the label index of the_file to the 0
delete these (or comment them out) and replace them with this line

make new alias at folder todaysfolder to file the_file
A nice feature of this is that if you ever drag an original file out of the downloads folder the alias in your compartmental folders will continue pointing to it.

To easily delete all the originals for a given date(s) just select them in the finder then select "find originals" from the get_info or contextual menu. this will then select all the originals in the finder which you can then delete.

[ Reply to This | # ]