My First Applescript

I end up downloading a lot of “stuff” – documents from various places on campus, trial utilities, software updates, etc.

While I save the downloads to /Users/me/Downloads instead of the desktop, I often get lost in the leftover download detritus of stuff I still want to get to, but haven’t. So I’ve been wanting some kind of rudimentary ability to file my downloads to some appropriate directory.

Hence my first Applescript – taking advantage of the really cool folder actions feature in Macintosh OS X (Panther).

on adding folder items to this_folder after receiving these_items     set theDate to current date     set folderName to the date string of theDate     tell application "Finder"        if not (exists folder folderName of this_folder) then           make new folder at this_folder with properties {name:folderName}        end if     end tell     repeat with i from 1 to number of items in these_items        set this_item to item i of these_items        tell application "Finder"           move file this_item to folder folderName of this_folder        end tell     end repeat  end adding folder items to

I’m not sure I like Applescript all that much (like compared to Perl or PHP) – but it’ll do.

On Spam

My self-selected quote from an email to a University mailing list:

I think at some point we have to depend on the recipients to use his/her
most powerful computer of all, and apply the same critical thinking and
reasoning skills that we demand of them in their University pursuits to
determine the legitimacy of online communication.

I am beginning to believe more and more and more that people turn their brains off when using the computer. Why is that?

CherryOS, PearPC, Duel!

It looks like CherryOS is a cherry bomb

I love intarnet drama.

And for the record – I always use Spiro Multimax 3000 in my code – don’t you?

“There are some functionalities that can only be done a certain way,” he said. “Names are going to be similar or identical because there are only certain ways to do things.”

A thousand monkeys materialized out of thin air to type this post.

They Broke The Intarnet

It looks like the internet is broken at “”

Not being able to google puts a certain crimp in one’s development activities.

traceroute to (, 30 hops max, 40 byte packets   1 (  0.942 ms  ...   2 (  0.528 ms  ...   3 (  0.575 ms  ...   4 (  0.662 ms  ...   5 (  1.464 ms  ...   6 (  1.644 ms  ...   7 (  2.239 ms  ...   8 (  2.19 ms  ...   9  * * *

Cyradm for Mac OS X

(alternatively titled “things that make a sysadmin happy”)

It’s really, really, really nice to have cyradm available for Mac OS X – thanks to the fine contributors to the fink project.

(hint: I had to reinstall XCode with every darn compiler it has to get it to compile – I think it really needs gcc3.1)

I now can way more easily manage shared mailboxes without shelling into the IMAP server.

Maybe I’ll finally write the perl script for mass update of shared mailbox permissions that I can’t seem to find at all that anyone has written previously. Though I know that they just had to have done that by now.

So much for security

Well, I remember reading all the recent hype about the bike locks you could defeat with a ballpoint pen.

I’m just catching up with news this afternoon – because apparently the laptop locks are easily defeated too (via engadet).

I just proved this by ruining the little Fellowes barrel-lock thing I bought for my office at work (and successfully unlocking the lock in about 5 seconds).

Hooray for technology.

Well, it *is* Friday Afternoon

Received at our support address mailbox today:

Dear Web Manager,

I visited your Web site at and would like to let you know that your Web site could also be presented in other languages for broader recognition.


We specialize in Website Translation and URL Submission in 10 languages – Spanish, French, German, Italian, Portuguese, Dutch, Russian, Chinese, Japanese and Korean. Our Web translation package includes:


I just had to pull this one out of the trash queue for an appropriate response:

Dear Unsolicited Commercial Email Sender,

We have received your offer for website translation services. You do support an impressive number of translations.

However, you do not offer Pig Latin. We feel that your language translation offering is therefore incomplete and we must reply to say that we are not interested.

Should you offer Pig Latin translation service in the future, perhaps we will lengthen the time we take to reject your spam offer.


  • OurYay PamSay EcipientRay

Little joys my friends, little joys