Title: Re: How can I clean out my Holidays (or reset them)?
On 1/13/04 8:33 AM, "[NAME PROTECTED]" <[EMAIL PROTECTED]> wrote:

On 1/12/04 6:15 PM, Paul Berkowitz <[EMAIL PROTECTED]> wrote:

>> On 1/12/04 3:02 PM, "[NAME PROTECTED]" <[EMAIL PROTECTED]> wrote:
>>
>> I recently ran into a problem where, with Exchange synchronization
>> (Advanced->Synchronize items with the server) turned on, my holidays were
>> multiplied into the hundreds.
[...]
>> Is there a pref/plist file I can erase to reset this?
[...]
 
> Run a script. (From Script Editor will do - you probably won't need it again.)
>     

> tell application "Microsoft Entourage"
>   delete every event whose category contains {category "Holiday"}
>   display dialog "Done!" with icon 1
> end if
>
> Then Import the holidays you want again.

Thanks for the quick feedback, Paul.

I tried the above script in Script Editor but got this error:

"SYNTAX ERROR: Expected “tell”, etc. but found “if”"

Suggestions?  Thanks!


My mistake. Give it what it expects (change the last line from 'end if' to 'end tell').

--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/toc.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

PLEASE always state which version of Entourage you are using - 2001 or X. It's often impossible to answer your questions otherwise.

Reply via email to