Re: Exchange Calendar Access & Manipulation
Re: Exchange Calendar Access & Manipulation
- Subject: Re: Exchange Calendar Access & Manipulation
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 09 May 2006 00:53:38 -0700
- Thread-topic: Exchange Calendar Access & Manipulation
On 5/8/06 11:31 AM, "Paul Berkowitz" <email@hidden> wrote:
> On 5/8/06 9:02 AM, "Jim Witte" <email@hidden> wrote:
>
>> On May 8, 2006, at 9:53 AM, Reese, Stevan wrote:
>>> The uncommented lines don't fail.
>>> tell application "Microsoft Entourage"
>>> get URL of Exchange calendar 1
>>> --get URL of Exchange calendar 2
>>> end tell
>>
>> Why would the first line work, but not the second one (unless there
>> was no calendar 2)? Or is this just another "Duh! Why is that bug
>> there?!!" Microsoft bug..
>
> See my long email just sent. >Neither_ of them should work since 'Exchange
> calendar' is not an element of the application, but there's an implicit
> coercion in place for 'Exchange calendar 1' to be interpreted as 'calendar 1
> of Exchange account 1'. Perhaps because there's an ambiguity as to how exactly
> to coerce 'Exchange calendar 2' (namely 'calendar 2 of Exchange account 1' or
> 'calendar 1 of Exchange account 2'), or because they didn't get around to
> deciding, there's no such implicit coercion. Just stick with correct syntax as
> you mean it and there will be no error.
My bad again. In fact, 'Exchange calendar' is accessible as an application
element by virtue of it being a subclass of 'calendar'
get URL of Exchange calendar 2
works just fine if you have a second Exchange calendar that you made as a
folder, or subfolder of another Exchange folder or -I'd venture to guess (I
can't test) is an "other user's folder" to which you have access and it
appears in the Calendar area, "Appears in the Calendar area" seems to be as
good a determinant as any. In other words, if your second Exchange calendar
is a Public Folder which you have not Added to Favorites , it's totally
inaccessible to AppleScript (see my earlier post in this thread) and that's
why you're not getting it. I'd bet that is the problem here.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden