December 21, 2005

Scripting

It's not Shakespeare, but bear with me. I'm trying to wrap my head around Applescript a little better by hooking up a folder script that will take an rtf file from Final Draft and crank out a blog entry. Why? Well, just because I can. Or rather, because I might be able to. Turns out parsing rtf files is trickier than it initially appeared, and even this sad little entry took a fair amount of massaging. So, back to the drawing boards...

INT. dining room, night

It’s mostly quiet in the house, except for the sounds of MANDY chewing on pellets in the corner. JASON is sitting at the dining room table with a PowerBook on his lap.

Stuart

Meow?

Jason

Hey man-- whatcha doing?

STUART

Meow!

JASON

Ok, hang on. I'm working on an applescript.

STUART

Meow!

JASON

Yeah, I know. It'll just take a second.

Stuart begins frantically pawing at Jason’s leg. He looks like he’s trying to dogpaddle denim.

STUART

Meow!!!

JASON

Okay, okay! What do you need, little man?

Posted by Jason at December 21, 2005 09:16 PM