Re: Exchange Calendar Access & Manipulation
Re: Exchange Calendar Access & Manipulation
- Subject: Re: Exchange Calendar Access & Manipulation
- From: "Reese, Stevan" <email@hidden>
- Date: Mon, 08 May 2006 06:53:23 -0700
- Thread-topic: Exchange Calendar Access & Manipulation
Entourage 2004 v11.2.3 has an incomplete AppleScript library. You may have
noticed that you now have a calendar '..On My Computer" and in your Exchange
account. Addressing these separately is difficult. I'm waiting for the next
version.....
The uncommented lines don't fail.
tell application "Microsoft Entourage"
get ID of calendar 1
get ID of calendar 2
get ID of calendars
get name of calendars
get category of Exchange calendar 1
get category of calendars
get account of Exchange calendar 1
get kind of Exchange calendar 1
get kind of calendars
get URL of Exchange calendar 1
--get URL of Exchange calendar 2
get URL of calendar 1
get URL of calendar 2
get URL of calendars
get category of calendar "Calendar"
--get name of primary calendar
--get Exchange ID of calendar 1
--get ID of Exchange account calendar 1
--get password of Exchange account
end tell
I didn't get very far with a working script except for building an account.
tell application "Microsoft Entourage"
activate
delay 1
if window "Entourage Setup Assistant" exists then
close window "Entourage Setup Assistant"
end if
make new Exchange account with properties {name:accountname,
Exchange ID:AccountID, password:Passwd, domain:Domainname, Exchange
server:Exchangeserver, full name:realname, email address:emailaddress,
partially retrieve messages:partmessages, LDAP server:LDAPserver, LDAP
requires authentication:logon, LDAP requires SSL:reqSSL, LDAP port:LDAPport,
DAV requires SSL:DAVSSL, DAV port:DAVport, free busy
server:PublicFoldersServer}
if exists schedule "Empty Deleted Items Folder" then set enabled of
schedule "Empty Deleted Items Folder" to false
if exists schedule "Send & Receive All" then set enabled of schedule
"Send & Receive All" to false
if exists schedule "Send All" then set enabled of schedule "Send
All" to false
if exists schedule "Empty Junk E-mail Folder" then set enabled of
schedule "Empty Junk E-mail Folder" to false
end tell
Best,
stevan
On 05/05/06 9:42 AM, "Jason Bourque" <email@hidden> wrote:
> Hello,
>
> I am trying to access an exchange calendar from Entourage with AppleScript.
>
> I have an exchange account account setup and can access the calendar
> "Marketing".
>
> While in the Exchange Account: the through expanding "Public Folders"
> Folder, then expanding "All Public Folders" Folder, then clicking on
> "Marketing Calendar"
>
>
> I thought this worked a few weeks ago but no luck today. Any ideas? Any
> sample script snippets you can share?
>
> tell application "Microsoft Entourage"
> -- return properties of event id 481
>
> tell calendar id 1115
> return name -- Fails
>
> end tell
>
> End
>
>
> Thanks,
>
> Jason Bourque
>
>
> _______________________________________________
> 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
Stevan
_______________________________________________
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