Script to auto-alphabetize smart albums in iPhoto '08???

Ok, I’m sure this is possible (and it really irks me the capability isn’t in the dang thing already):

Is there a way to make a script that will auto alphabetize the smart albums in iPhoto '08? I have lots of them, stored in sub folders, but its a pain to keep them alphabetized.

Anyone got a script that would handle that?

Model: MacBook Pro 2.33GHz
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

I’m sure this is possible, but might take some time to wrap my head around a goo way to do this. The problem is identifying the albums is a pain because everything Trash, Import, etc are all considered albums by iPhoto 08 furtermore events are considered smart albums so its a tad goofy.

If I have some free time I will look at it more later today.

James:

Best of luck to you. This has been impossible in AS ever since the early iPhoto days. As you mention, albums can be addressed at any time (and their contents manipulated), but the display of said albums is untouchable via AS.

Oh, well that sucks LOL I didn’t digg to much into it so thanks for stopping me from the eventual hair pulling LOL

On the contrary, James, I was being sincere; I think you should investigate it. I would be more than happy to discover that I was simply incapable.

I’m afraid, you’re right. Unlike in iCal, where you can simply rearrange calendars with

move calendar 1 to end of calendars

the corresponding code in iPhoto

move album 1 to end of albums

causes an NSInternalScriptError