From the "Ole is not too stupid for this" department
by Volker Weber
Ole Saalmann took me to task on the Automator rant. He wrote an elaborate workflow which was designed exactly as I had imagined. However it turned out that it did not really work. Photos where imported into the ~/Pictures folder and not into the appropriate directories within the iPhoto Library tree. I fooled around with moving the files to my temporary directory, then fixing them with exifcleaner, importing them to iPhoto and then removing the files from the temporary folder. But this also did not work. The library only had zero kb files and thumbnails in iPhoto. Ole gave it another go, but it only worked when he removed exifcleaner, which was the only reason to build this workflow in the first place.
It was also possible to import pictures that where already on the computer and did not have to be imported from the camera. But that was again not the original idea. Today Ole took the detour with AppleScript. The only original Automator action is the download from the camera via Image Capture (Digitale Bilder). I now have saved the workflow as an application and told Image Capture to call it when a camera is connected. Works like a charm.
However, this completely defies the original idea that it would be easy to slap together this workflow with Automator. But we don't want to to give up. Maybe you can come up with a working solution that does not rely on AppleScript. This workflow assumes you have a perl script called exifcleaner.pl in a subdirectory called bin inside your home folder (~/bin/exifcleaner.pl).
Update: Pascal Behrend recreated exactly the same workflow that did not work well for us. I make it also available for testing purposes. The not so funny thing is: This workflow works most of the times. Not all of the times though. Since we don't delete pictures from the camera, it can happen that it hits the duplicates dialog. Depending on whether you had deleted the last imported pictures from iPhoto or not, this happened sometimes while testing. Another side effect is that the workflow does not clean out the temporary folder before starting. If it still exists because an old workflow stalled, you get more side effects. Again I started to see imported pictures in ~/Pictures and zero kb pictures in iPhoto Library.
Comments
There's a shell script here which dows the grunt work. What I did not want to look up is the stoopid
"tell iPhoto not to care about things it should not and simply import folder ${IMPORTED}" invocation for ElementarySchoolScript^WAppleScript. Man osascript.
Batches, workflows that work: shell scripts.
Automator? Yuck. It's a farce. Sorry to say that, since Apple came out with very good ideas in the last years but Automator simply sucks.
Post a comment
Recent comments
Frank Koehntopp
on Updates from vowe's Apple zoo at 17:27
Tobias Mueller
on Updates from vowe's Apple zoo at 14:11
Lukas Praml
on Updates from vowe's Apple zoo at 14:01
Paul Farris
on Google syncs address book to BlackBerrys at 12:21
Alan Bell
on Amazing Head Tracking at 16:45
Oswald Prucker
on Google syncs address book to BlackBerrys at 14:36
Kai Schmalenbach
on Apple TV: First impressions at 11:13
Armin Roth
on Google syncs address book to BlackBerrys at 10:47
Gonzague Dambricourt
on Google syncs address book to BlackBerrys at 23:57
Nick Daisley
on Foldershare, R.I.P. at 20:20
peter mojica
on Notes or Exchange? Let's put an end to those creative statistics at 19:42
Armin Roth
on Weihnachtsmüll von Microsoft at 10:33
Michael Sedlaczek
on Weihnachtsmüll von Microsoft at 10:26
Julian Buss
on Use scripts to improve install process for Lotus Notes at 08:36
Philipp Sury
on Apple TV: First impressions at 07:04
Frank Paolino
on New poll: which BlackBerry could be your next? at 05:10
marco foellmer
on BlackBerry Curve 8900 at 00:20
Uwe Brahm
on Foldershare, R.I.P. at 19:03
Nick Shelness
on Foldershare, R.I.P. at 16:55
Nick Shelness
on Foldershare, R.I.P. at 16:43
Ralf M Petter
on Foldershare, R.I.P. at 15:32
Jan Tietze
on Foldershare, R.I.P. at 14:12
Ole Saalmann
on Foldershare, R.I.P. at 13:33
Stefan Weigand
on Doc Scrubber cleans your Word document at 13:21
Doug Petrosky
on Apple TV: First impressions at 13:00



