Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > AppleScript - problem trying to auto import to iPhoto

AppleScript - problem trying to auto import to iPhoto
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 31, 2007, 03:53 PM
 
What im attempting to do is put an AppleScript on a folder so that whenever I drop an image into that folder it loads up iPhoto and imports it.

I used this similar example as my starting ground : http://henrik.nyh.se/2006/12/automat...os-into-iphoto

and came up with this
Code:
on adding folder items to this_folder after receiving added_items tell application "iPhoto" import from added_items delay 5 -- wait for import to finish tell (the first album whose name is "Last roll") to select photos assign keyword string "Eye-fi" select (the first album whose name is "Eye-fi") end tell end adding folder items to
Its working fine on my powerbook g4 , with iphoto 5.0.4

However, when tried on a mac book, with the latest version of iphoto it starts to import then fails with an Unreadable Files error...however there's no files listed.

Here's a link to a screenshot of the error message (the screenshot also shows my script)
http://www.screencast.com/users/susa...6-8d98e22da285

Any Ideas?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:06 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2