• 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: new todo with url reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new todo with url reference


  • Subject: Re: new todo with url reference
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 06 Feb 2013 09:34:17 +0100

Le 6 févr. 2013 à 01:14, James Roberts a écrit :

> Axel
>
> I get ‘missing value’ using that id, however is I strip out the % from the id it sets (but of course doesn’t point to anything real.)
> I also get similar results with evernote
>
> I have tried all the encodings I know,
>
> "message:<" & message id & “>"
> message://< … >
> message:< … >
> message://< … >

Sorry, I messed up my reply.

Assuming your message shows this header in its raw contents:

	Message-Id: <2O000000013922-**MSO20130201%@anothername.com>

Mail woud return following string for that message's message id property:

	"2O000000013922-**MSO20130201%@anothername.com"

The equivalent url for Calendar would be:

	"message:<2O000000013922-**MSO20130201%@anothername.com>"

But Calendar seems to expect an encoded url.
The "<" and ">" thus need to be passed as "<" and ">" respectively.
But the "%" characters need to be encoded as well (they would otherwise be interpreted as the beginning of an encoding sequence); so, let's replace each occurrence of "%" by "%".
Now, those "*" and "@" are peculiar characters as well; to be sure, let's encode those chacacters as well.
As a result, this string would need to be passed to Calendar as the todo's url:

	"message:<%062O000000013922-**MSO20130201%@anothername.com>"

Seems fine here.

HTH,
Axel


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: new todo with url reference
      • From: Jimmy Roberts <email@hidden>
    • Re: new todo with url reference
      • From: Jimmy Roberts <email@hidden>
References: 
 >new todo with url reference (From: James Roberts <email@hidden>)
 >Re: new todo with url reference (From: Axel Luttgens <email@hidden>)
 >Re: new todo with url reference (From: James Roberts <email@hidden>)

  • Prev by Date: AUTO: Jin Ming Tsin is out of the office (returning 2013-02-18)
  • Next by Date: Re: new todo with url reference
  • Previous by thread: Re: new todo with url reference
  • Next by thread: Re: new todo with url reference
  • Index(es):
    • Date
    • Thread