Re: Launch Email or Browser
Re: Launch Email or Browser
- Subject: Re: Launch Email or Browser
- From: Annard Brouwer <email@hidden>
- Date: Sat, 18 May 2002 07:51:16 +0200
Ah! It amazes me that someone actually followed the specifications. Yes,
1024 characters is the limit on a url.
I think if you really want to send a complicated document to Mail, you
could put it on the pasteboard and invoke the "Services->Mail->Mail
Text" programmatically. Another option would be to use AppleScript. Of
course, these suggestions are all highly spcific to a particular mail
application and that could complicate matters.
Maybe someone knows of a generic mail interface for AppleScript? GetURL
does most of the tricks:
geturl: Get a URL and display it in a window or save it to a file
geturl string -- the URL
[to <file>] -- destination file
| [attaching <list>] -- files to attach to mailto URLs
Result: small integer -- result code
(Hmm... the Mail dictionary doesn't seem to display the full
specification. Bug?)
Cheers,
Annard
On Fri, 17 May 2002 16:09:26 -0600 , John Nairn
<email@hidden> wrote:
but there is one problem. I found out that the length of the string
passed to openURL is limited to 1023 characters and 1 termination
character. Anything longer and Mail (my email choice) does not respond
to the URL.
Does anyone know if this is a limit of the Mail application or of URL
definitions in general?
_______________________________________________
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.