Talk About Network

Google





Mac > Office Entourage for Mac > Re: How to tell...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 20116 of 22932
Post > Topic >>

Re: How to tell who sent a calendar event?

by =?Utf-8?B?SXNhYmVsbGUgTS4=?= <IsabelleM@[EMAIL PROTECTED] Sep 12, 2008 at 12:36 PM

Hi Barry-

Thanks! It works great. 
I'll check and see if the same trick can be used to specify optional and 
required attendees when generating an invit.

Bill-
I should have mentioned I'm using Entourage 2004. It's good to know that 
2008 has resolved the issue.

Isabelle

"Barry Wainwright" wrote:

> Barry Wainwright wrote:
> > Isabelle M. wrote:
> >> Hi-
> >>
> >> How do you grab that From: john.doe@[EMAIL PROTECTED]
 in an AppleScript?
> >> I'm writing a Reply to All to an event, but I can't get the sender.
> >>
> >> Thanks
> >>
> >> Isabelle
> >>
> >>
> > well, that is a strange omission.
> > 
> > There is no 'from' property for an event, and even though the sender
is 
> > displayed in the notes field in the GUI, it is not accessible by
script!
> > 
> > I looks like there is no way of getting the sender by script. :(
> > 
> > 
> > 
> > 
> 
> 
> there is a way - you can parse the 'ical data' of an event:
> 
> 	set eventData to iCal data of theEvent
> 	set oldDelims to AppleScript's text item delimiters
> 	set AppleScript's text item delimiters to {"ORGANIZER:MAILTO:"}
> 	set TheSender to first paragraph of text item 2 of eventData
> 	set AppleScript's text item delimiters to oldDelims
> 
> 
> I haven't checked this out very far - events originating in Entourage 
> use the "ORGANIZER:MAILTO:" tag, other systems may have a slight 
> variation (and TIDs are case sensitive!).
> 
> It may get you started...
> 
> 
> -- 
> Barry Wainwright
> Microsoft MVP
>
 




 7 Posts in Topic:

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 23:39:22 PST 2009.