> From: Allen Watson <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Date: Sat, 24 Apr 2004 09:41:55 -0700
> To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Subject: Re: Scripted backup of DB
> 
> If one didn't want to shut down the machine, it would be fairly easy to
> write two simple AppleSCripts:
> 
>   tell application "Microsoft Entourage" to quit
> 
> And
> 
>   tell application "Microsoft Entourage" to activate [or "to launch"]
> 
> Put those into cron with an "osascript" command to run the scripts, running
> the quit script a minute before your ditto script, and running the
> activation script after a reasonable interval to allow the copy to complete.
> When I duplicate my MUD folder in Finder it rarely takes over 2 minutes, but
> then, I keep my database trimmed down to about 5000 messages. Larger
> databases would need a longer time to complete the copy.
> 
> Example:
> 
>   osascript -e 'tell application "Microsoft Entourage" to activate'
> 
>   osascript -e 'tell application "Microsoft Entourage" to quit'


Hey, this is very cool, thanks! It's definitely an improvement on what I'm
currently doing.

Just one question: Do I have to have anything special installed to use the
"osascript" command? I've seen references to that but really have no idea
what it refers to.

Sonja

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