On 7/21/02 1:35 PM, "Paul Berkowitz"  wrote:

<snip my question and Paul's first AS>
> This version will be faster, especially if you've got a lot of them, and
> especially from the second time onwards:
> 
> 
> ----------------------------
> 
> tell application "Microsoft Entourage"
>   set noSync to category "No Sync"
>   set allDays to every event where its all day event is true and its
> category does not contain {noSync}
>   repeat with i from 1 to (count my allDays)
>       set anAllDay to item i of my allDays
>       tell anAllDay
>           if ((its end time) - (get its start time) > (1 * days)) then
>               set its category to (its category & {noSync})
>           end if
>       end tell
>   end repeat
> end tell
> 
> ---------------------------------

Back from vacation, and not yet caught up, but I did get to this :-), and it
worked perfectly. So once again, thanks for the help, Paul. If anyone can
drag all of us into the AS camp, it'll be you!

Well, I have to confess, what will *really* get me there is when MS makes AS
available in Word (just in case Dan's "listening" :-)).

-- 
Jan Martel in Davis, CA
IBook 500; System 10.1.5, 9.2.2


-- 
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