Re: Why does this iPhoto applescript fail to produce new albums with photos in them?
Re: Why does this iPhoto applescript fail to produce new albums with photos in them?
- Subject: Re: Why does this iPhoto applescript fail to produce new albums with photos in them?
- From: kai <email@hidden>
- Date: Thu, 10 Mar 2005 23:25:55 +0000
On Thu, 10 Mar 2005 14:16:52 -0800, "Andrew T. Lynch" wrote:
Hello Kai, and thanks for responding. I benchmarked your version of
the script against the one I used (included below), and they are about
the same performance wise. My problem seems to be that my image
library is large, >23,000 images. While iPhoto's performance is fine
via the GUI, it goes to heck via applescript. I ran your script and
mine with 9 images selected, and they each completed in about 35
seconds. I assume that the performance per image would improve with
more images, as the time needed to create the album would be amortized
over more images.
Right. That's a pretty sizeable library, Andrew (at least in comparison
to mine) - and there's little doubt that it contributes to the
performance hit. OMM, it usually takes between 2 to 2.5 seconds to
create a new folder and add 9 photos to it. However, it's still curious
that doing the job via AS takes noticeably longer than it does
manually...
BTW, In my book, anybody who can write this:
"tell startPhoto + albumSize - 1 to if it > photoCount then"
is a guru :-) Makes my head hurt.
Sorry. I think it's this beer I'm drinking that is largely responsible
for the slurred, convoluted syntax. I swear the brew has been
over-fermented. ;-)
A funny story about "zymurgist": I've had the official title "Chief
Zymurgist" for about 8 years (I used to brew the beer for the company
parties when we were a startup). We recently hired a new docs manager,
and she let me know (gently) that zymurgist is not a word. The correct
word for one who studies zymurgy is "zymologist" which just doesn't
have the right ring to it.
Quite - and several sources seem to acknowledge either form:
http://www.brainyencyclopedia.com/encyclopedia/z/zy/zymology.html
Anyway - whichever version you use, I imagine it prompts some
interesting responses from those rash enough to enquire about your
occupation.
Here is the script I ended up using. I just went in the hot tub and
let it finish.
See? Yet another benefit of using AppleScript...
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden