Re: Scripting "Empty Cache" in Entourage

Tech-Archive recommends: Fix windows errors by optimizing your registry



In article <Od39D0a1IHA.2384@xxxxxxxxxxxxxxxxxxxx>,
William Smith <mecklists@xxxxxxxxxxxxxxxxxxxxxx> wrote:

dmarcantonio@xxxxxxxxxxxxxxxx wrote:

Anyone know where the cache for Entourage hides in the system?

We are about to move several dozen users to a new mailserver and the
cleanest way to ensure they don't see inconsistencies it to get them
to Empty Cache. The problem is, some of the users will ignore the
request to do such a simple thing, I'd much rather have an
AppleScript application go to them after the move that does it on its
own.

Any ideas on how to get AppleScript to empty the cahces?

This should do what you want assuming you only have one Exchange account
configured in Entourage:

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

Hope this helps!



sorry Bill, but that will only empty the cache in the top level folders
- not in any subfolders.

this script will recursively work its way down the folder hierarchy,
emptying caches as it goes.

I haven't tested it, as I don't want the cache emptied on mny 2Gb
exchange account!

-- Empty Exchange Cache v1.0 (2008-06-24)
-- an applescript by Barry Wainwright <mailto:barryw@xxxxxxx>
-- Empties the local cache of every folder in every exchange account
-- This script released under a Creative Commons Attribution,
NonCommercial, ShareAlike 2.0 England & Wales License.
-- see <http://creativecommons.org/licenses/by-nc-sa/2.0/uk/> for full
details

tell application "Microsoft Entourage"
repeat with anAccount in every Exchange account
repeat with aFolder in every folder of anAccount
my processFolder(aFolder)
end repeat
end repeat
end tell

on processFolder(thisFolder)
tell application "Microsoft Entourage"
repeat with aSubFolder in every folder of thisFolder
my processFolder(aSubFolder)
end repeat
empty cache thisFolder
end tell
end processFolder

--
Barry Wainwright
Microsoft MVP
.



Relevant Pages

  • Re: OWA 2003 Sent mail not syncing with Entourage 2008
    ... Where do I locate this particular cache? ... Right-click the root folder for your Exchange account and ... chose "Folder properties". ... MVPs are not MS employees - Les MVP ne travaillent pas pour MS ...
    (microsoft.public.mac.office.entourage)
  • Re: Synchronize of profile and user share folder
    ... With method two, when the cache is clear and offline will not be available, ... share folder do not sync when you logon and log off the computer. ... Open windows explorer, click Tool menu, select Synchronize. ... The Offline Files cache on the local computer will be re-initialized. ...
    (microsoft.public.windows.server.sbs)
  • Re: caching problem
    ... > popping up from the cache. ... > 2) delete TIFs folder, history folder and cookies folder from the local ... > service and DHCP client service disabled to avoid system slow downs. ... > have been experimenting with the DNS client service and DHCP client ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: caching problem
    ... The IE cache is ... Another program interfering with IE. Try disabling third party programs ... >>> 2) delete TIFs folder, history folder and cookies folder from the local ... >>> service and DHCP client service disabled to avoid system slow downs. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: OT: Tribute to terminated Verizon newsgroups
    ... I don't save cookies so why should I cache anything? ... hidden file used by Microsoft Windows operating system that stores a ... If you are viewing a Windows explorer window in "Thumbnail" view it tries ... private document folder has folders for recipes, food pix, user manuals, ...
    (rec.food.cooking)