Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can I use Sparrow as a default emailer in iPhoto '11?

When I try to send the picture in iPhoto '11, the e-mailer choices are confined to the iphoto itself, Mail, and Outlook something.


I'm using Sparrow as a default Mail client in my Mac. Can I use it as a defaut e-mailer in iPhoto as well?


Thanks.

iPhoto '11, Mac OS X (10.6.7), Setting Sparrow as Default Email

Posted on Jun 1, 2011 6:22 AM

Reply
Question marked as Best reply

Posted on Jun 1, 2011 7:51 AM

No - the only choices are the ones listed in the iPhoto preferences - you can request Apple to address - iPhoto menu ==> provide iPhoto feedback


LN

7 replies

Jun 10, 2012 10:55 AM in response to younsuk

Save the following with Applescript Editor, works with iPhoto:



on mail_images(email_subject, default_address, image_count, new_files, new_captions, new_comments, cancel_string)

try

tell application "Sparrow"

activate

set theMessage to make new outgoing message with properties {subject:email_subject, content:"Check out my sweet pictures!"}

tell theMessage

repeat with image_idx from 1 to image_count

set this_imagefile to item image_idx of new_files

set attachmentfilename to POSIX file this_imagefile

make new mail attachment with properties {filename:attachmentfilename as alias}

end repeat

compose

end tell


end tell

on error error_message number error_number

log error_message & " " & error_number

if the error_number is not -128 then

tell application "Finder"

beep

display dialog error_message buttons {cancel_string} default button 1

end tell

end if

end try

end mail_images


Save the file as Sparrow.scpt and place in: applications > iphoto > contents (right click & select show package contents) > resources > scripts



Now go to iPhoto preferences and from the dropdown menu select Sparrow (including icon!) and start mailing your pictures with Sparrow!


ps this is not my handywork. Credit goes to the original poster.

Sep 25, 2012 4:36 AM in response to Matzky

Travis, this no longer seems to be working after updating to 10.7.5. I understood that this has to do with the limitations of sandboxing. I've tried using the default mail.scpt and changing tell application to Sparrow. But then I get a Syntax Error: Expected expression, etc. but found “:” regarding this: file name:POSIX file. Any ideas on how to get this back working again?

Jan 7, 2013 2:55 PM in response to Matzky

I also can not get this to work. I have tried a slight change that was recommended on the site below but to no avail.


https://discussions.apple.com/thread/4153836?start=0&tstart=0


-- Mail from Sparrow.app instead of Mail.app

-- Travis Johnson (Edited)

on mail_images(email_subject, default_address, image_count, new_files, ¬

new_captions, new_comments, cancel_string)

try

tell application "Sparrow"

activate

set theMessage to make new outgoing message with properties ¬

{subject:email_subject, content:"Check out my sweet pictures!"} ¬


tell theMessage

repeat with image_idx from 1 to image_count

set this_imagefile to item image_idx of new_files

set thisimagefilepath to (POSIX file this_imagefile) as string

make new attachment with properties {file:(thisimagefilepath)}

end repeat

compose

end tell


end tell

on error error_message number error_number

log error_message & " " & error_number

if the error_number is not -128 then

tell application "Finder"

beep

display dialog error_message buttons {cancel_string} ¬

default button 1

end tell

end if

end try

end mail_images

Can I use Sparrow as a default emailer in iPhoto '11?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.