Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Friday February 13, 2004
12:38 AM

iPhoto shell

[ #17392 ]

I have been fooling around with iPhoto, which is a real dog in performance, even if I automate things with AppleScript. However, I discovered that Mac::Glue is a lot faster, at least once it starts up. As I have been organizing about 22,000 photos, I have been adding commands to an iPhoto shell I created.

It goes like this:

iphoto> show camels
54 pictures in "camels"
iphoto> merge camels sheep
merging "sheep" with "camels"
34 pictures in "sheep"
54 pictures in "camels"
88 pictures in "camels"
iphoto> remove sheep
removing sheep
iphoto> show saddam
109 pictures in "saddam"
iphoto> select 10-100
selecting 91 photos in "saddam"
iphoto> add selection to export
adding 91 photos to "export"

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • That is so cool
    • It is even more cool now, but I need to work out a little bug before I can upload it.

      One nagging thing I have not investigated:

      I added a "reload" command that exec's the script, so I can work on the script and not lose the shell. It works fine until I use some of the other commands, then I get an "Operation not supported" message, which I think comes from some sort of shell error. I think it might have something to do with filehandles. Oh well. I might just have to nix that feature.