Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automate Entourage's database rebuilding' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automate Entourage's database rebuilding
Authored by: Gnarlodious on Mar 28, '04 11:02:41PM
Compact Database --reminds you what button to push
 tell application "Finder"
   activate
   tell application "Microsoft Entourage" to quit
   open folder "Applications:Microsoft Office X:" of the startup disk
   select file "Applications:Microsoft Office X:Microsoft Entourage" of the startup disk
   display dialog ¬
      "With caps lock off, hold down \"opt\" key and restart Entourage"
end tell 
Delete old databases
  set identitiesPath to ((path to home folder) ¬
   & "Library:Microsoft User Data:Office X Identities:" as string)

tell application "Finder"
   set identityList to every folder of folder identitiesPath
   repeat with ThisIdentity in identityList
      delete (every file of ThisIdentity whose creator type is "OPIM" and ¬
         file type is in {"OEDB", "OECl"} and name starts with "Old")
   end repeat
   open ThisIdentity
end tell 


• Gnarlie's Applescript page

[ Reply to This | # ]