Apple Event: May 7th at 7 am PT

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

Service command in Preview.app - Send PDF as attachment doesn't work

I have used the following workflow for month on all my three macs.

I open up a PDF file in Preview and select "eMail PDF as attachment" from the Edit menu at the top of the screen. This will attach the current viewed PDF file to a new mail message.


I guess after updating to 10.7.2 somehow it stopped working on MacBook Pro and iMac. My Mac mini is fine.


When I do use this command I get two error messages. Service not available. Can't attach PDF to mail. Import failed. Something like that.


Does anyone know how to fix that? I repaired permissions and did all that kind of stuff.


Thanks in advance!

MacBook Pro, Mac OS X (10.7.2)

Posted on Oct 21, 2011 6:54 AM

Reply
39 replies

Nov 2, 2011 9:08 AM in response to juliefromMN

Since the Library folder is hidden, use the Finder's Go->Go To Folder… menu and paste in ~/Library/Containers/com.apple.Preview. That will show you the folder.


Also, it would be helpful if you could send me the com.apple.ServicesMenu.Services.plist files from ~/Library/Containers/com.apple.Preview/Data/Library/Preferences and from ~/Library/Preferences.

Nov 3, 2011 10:08 AM in response to btraber

My version of this problem is very persistent. I have tried repairing permissions and deleting the /Library/com.apple.Preview folder but when I re-open preview I get the 'The “New Email With Attachment” service could not be used' message. I guess the com.apple.Preview folder that gets rebuilt has the same flaw as the deleted version.


I'm running 10.7.2 on a late 2009 i7 iMac.


Any chance you have a few more ideas?


Thanks

Nov 7, 2011 7:35 PM in response to arnald

I'd like to compare the com.apple.ServicesMenu.Services.plist files to see if there is a difference, so there's no need to send the entire folder. On my machine, the com.apple.ServicesMenu.Services.plist in ~/Library/Containers/com.apple.Preview/Data/Library/Preferences is an alias to the same file in ~/Library/Preferences. If your file in ~/Library/Containers/com.apple.Preview/Data/Library/Preferences is not an alias, can you send both files, please? If it is an alias, can you see what file it resolves to? Thank you.

Nov 8, 2011 1:33 PM in response to arnald

After a little more investigation, the com.apple.ServicesMenu.Services.plist file in ~/Library/Containers/com.apple.Preview/Data/Library/Preferences should be a symlink to the file in ~/Library/Preferences.


If you use Terminal and check the links on ~/Library/Containers/com.apple.Preview/Data/Library/Preferences/com.apple.Servi cesMenu.Services.plist, you should see an "->" at the end of the file and where the link resolves to:


ls -al | grep Services

lrwxr-xr-x 1 jb admin 64 Mar 14 2011 com.apple.ServicesMenu.Services.plist -> ../../../../../Preferences/com.apple.ServicesMenu.Services.plist


If you don't see something similar to above, please open ~/Library/Containers/com.apple.Preview/Data/Library/Preferences/ in a Finder window and drag the com.apple.ServicesMenu.Services.plist file to the mail message. Then open ~/Library/Preferences and drag the same file to the mail message, distinguishing between the two files please. Thank you.

Service command in Preview.app - Send PDF as attachment doesn't work

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