Forgot your password?
typodupeerror
User Journal

Journal: del.icio.us

Journal by commonchaos

I am now using del.icio.us as my link storage. There will be no more posting in my /. journal.

I love using the RSS bookmarks in Firefox to keep my bookmarks synced between home and work. I love being able to send a tag group to a friend.

blah blah blah, del.icio.us is great, get and account and use it!

OS X

Journal: Apple script to sort directory as you add files to it

Journal by commonchaos

This was written because I never like to delete stuff from my "Downloads" directory. I hate having to look through the directory for the last thing that I downloaded, that is where this comes in.

I have my browsers configured to not open my files after download, if I did, I would probably configure the delay to be more like 10 minutes or so.

on adding folder items to this_folder after receiving these_items
    tell application "Finder"
        set theDate to current date
        set todayDate to month of theDate & " " & day of theDate & ", " & year of theDate as text
 
        if not (exists folder todayDate of this_folder) then
            set the target_folder to (make new folder at this_folder with properties {name:todayDate})
            delay 2
        else
            set the target_folder to folder todayDate of this_folder
        end if
 
        repeat with i from 1 to number of items in these_items
            set this_item to item i of these_items
 
            move this_item to the target_folder
        end repeat
    end tell
end adding folder items to

: is not an identifier

Working...