How about

tell application "Microsoft Entourage"
    delete first category where its name is "Sync"
end tell

or if that's no good:

tell application "Microsoft Entourage"
    delete every category where its name is "Sync"
end tell

and start over. 

If still no good, you'll have to rebuild your database.

-- 
Paul Berkowitz

> From: Richard Shane <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Date: Wed, 09 Jan 2002 05:34:10 -0700
> To: <[EMAIL PROTECTED]>
> Subject: Re: Paul's Sync X To Palm script
> 
> Paul: 
> 
> Yes , just going to Edit menu/Categories/Edit Categories freezes cursor (!?)
> 
> I compiled and ran your script (thanks) and that also froze cursor (!!??)
> 
> Help?
> 
> 
> 
> On 1/8/02 7:48 PM, "Paul Berkowitz" <[EMAIL PROTECTED]> wrote:
> 
>> On 1/8/02 1:16 PM, "Richard Shane" <[EMAIL PROTECTED]> wrote:
>> 
>>> 
>>> Following your script instructions, I created "sync" and "sync
>>> delete" categories in handheld.  Synced to Entourage 2001 (got that
>>> working again).  It created one "sync delete" category and two "sync"
>>> categories.  I go to "edit categories" to eliminate one "sync"
>>> category" and Entourage freezes.  This happened twice.
>> 
>> Well, I never heard of that happening, so I don't really know what to
>> suggest. Just going to Edit menu/Categories/Edit Categories freezes
>> Entourage?
>> 
>> Try this in Script Editor:
>> 
>> tell application "Microsoft Entourage"
>>   delete category "Sync"
>> end tell
>> 
>> It should only delete one of them. Go check afterwards and see if it worked.
> 
> 
> -- 
> To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> archives:       
> <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
> old-archive:     
> <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
> 


-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to