Empty Calendar folder - Applescript

H

hermana

Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel Email Client: Exchange We just recently moved all of our mac users over from exchange '03 to exchange '07 and are experiencing calendar syncing issues. It appears that emptying the cache resolves the problem. I have seen an applescript to empty the cache for the folders but it does not seem to do the calendar. I have tried this but it gives me an error stating that it cannot find the calendar folder.

tell application "Microsoft Entourage"
        empty cache of calendar folder of Exchange account 1
end tell

Please advise.
 
H

hermana

Here is the script that I found worked for me:

set i to 1 --Set to go through the users Entourage accounts and look at each one

tell application "Microsoft Entourage"
        if version contains "12" then
                repeat
                        if (exists Exchange account i) then
                                empty cache of every calendar of Exchange account i
                                set i to i + 1
                        else
                                exit repeat
                        end if
                end repeat
        end if
end tell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top