entourage public folders

I’m trying to share a calendar in a public folder which has been created in my exchange account. The Calendar resides in a subfolder called “photo calendar” which is inside of a folder called “Public Affairs and Communications” which resides in my “Public Folders” folder. I want to be able to add events to this calendar with an applescript.

I am able to script my main exchange calendar without any problems but not the calendar in my Public Folder.
Is there another way to refer to my Public Folders folder in order to get the calendar id of the calendar in my public folder.

The following returns a list of all of my folders but not my Public Folders folder.

tell application “Microsoft Entourage”

set theFolders to folders of Exchange account 1

end tell

Thanks.

Pedro

Model: g5
AppleScript: 1.10.7
Browser: Firefox 2.0.0.11
Operating System: Mac OS X (10.4)

I don’t use Exchange so I can’t help much, but does the…

Exchange subfolders (list of record, r/o) : the account's subfolders and their storage and total storage amounts

property of the Exchange account yield anything useful? (Entourage 2004)

That probably gets you the same thing you’re getting already.

Sometimes you can get at this stuff in a round about way. Like open an item in the public calendar and then ask the application for “current messages”, which will get you an ID. Then you can get folder properties on that.

*** Note that Folders is “contained by” exchange account, as you’ve used it, but also by application. Ask the application for a list of folders. You can get a “kind” property for them. One of the kinds is “Exchange public folder”. Once you have that, you can drill down with “Exchange subfolders” to get to the folder you need to address.