Journal davebo's Journal: applescript
bookmarks can be applescripted - almost without fail. this has caused me quite a bit of consternation. Do I want to have "bookmarks" and "bookmark folders" as separately scriptable things? Do I add in a 3rd class ("folder items") which encompases both bookmarks and bookmark folders? Omniweb just has "bookmarks", which can be folders or bookmarks - I guess I could do that, too, but then I'd have lots of useless variables clinging to objects that didn't need them (ie, a bunch of NSArrays on bookmark items.) Or make a class cluster, which just seems like more trouble than it's worth.
and I'm still stuck on the "almost without fail" part. The mailing lists and cocoa dev websites have been, ahem, not particularly useful.
The first defense from my class comes tomorrow. Teeters was putting his committee together today. I have college friends with PhD's, and I guess it was a shock when the first one defended, but I had gotten used to it, I thought. Guess not.