Re: cocoa-dev digest, Vol 2 #672 - 18 msgs
Re: cocoa-dev digest, Vol 2 #672 - 18 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #672 - 18 msgs
- From: Dan Crevier <email@hidden>
- Date: Fri, 24 May 2002 19:55:48 -0700
On 5/24/2002 6:31 PM, "Simson Garfinkel" <email@hidden> wrote:
>
> Message: 2
>
> Date: Tue, 21 May 2002 16:56:32 -0400
>
> From: Nathaniel Irons <email@hidden>
>
> To: email@hidden
>
> Subject: Re: Sending mail from Cocoa Apps
>
>
>
> On Tue, May 21, 2002 at 09:43:04AM -0400, Simson L. Garfinkel wrote:
>
>
>
>> There has to be a better way of doing it, as Microsoft Office X
>
>> allows you to email a file as an attachment, and that file pops up
>
>> in Mail.app when I choose the menu command.
>
>
>
> Does "a better way" necessarily include the presumption that the
>
> Mail.app is the default mail client, or has been configured to send
>
> mail? I can see how this approach would have value in certainly
>
> rigidly controlled environments, but not in the wild.
>
>
Everybody seems to have missed this. There is some sort of API that an
>
application can use to send a file as an attachment. I don't know how it
>
works. Microsoft Word knows how it works. From within Word, you can say
>
"Send file as an attachment" and Word figures out whatever your default mail
>
application is, creates a new message, and then puts the current document
>
into that message as an attachment.
>
>
There is some way to do this. Word does it. Other applications do it. I want
>
to do it, and can't figure out how.
I'm too lazy to look at the Word source, but I'm guessing Mail.app supports
version 1.1 of the GURL AppleEvent, even though it doesn't list it in the
dictionary. I know that Entourage and Mailsmith support this:
http://ftp.nwu.edu/ftp-archive/pub/newswatcher/url-ae-standard-1-1.txt
Dan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.