• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Launch Email or Browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: problems with NSWorkspaceRecycleOperation
  • Next by Date: Re: Tear off...
  • Previous by thread: Re: Launch Email or Browser
  • Next by thread: NSBrowser firstResponder issue
  • Index(es):
    • Date
    • Thread