Scripts aren't that difficult to use when you have grasped the concepts -
that doesn't often take more than a couple of days playing with applescript.

Here's a start for the example that was given:

Tell app "microsoft entourage"
Set triggerDate to current date - 7*days
Set theMessages to every message of folder "inbox" whose sent time <
triggerDate
Move theMessages to folder "Archives"
End tell

Reading through the script should immediately give the idea of what is
happening, but do be careful - the english-like nature of applescript can
give false impressions of it's simplicity. It is still a highly structured
language with a precise and exact syntax - get that wrong and the script
won't work - it can't 'guess' at your meaning. However, the initial learning
curve is quickly mastered for most people and there is plenty of willing
help here for anyone that wants to learn.

-- 
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Seen the Entourage FAQ pages? - Check them out:
  <http://www.entourage.mvps.org/toc.html>


> From: Joshua Yeidel <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Date: Thu, 13 May 2004 14:04:31 -0700
> To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Subject: Re: Office 2004 still can't execute scheduled scripts?
> 
> 
> I think the issue here is that the Rules construction interface is much
> simpler than determining how to use AppleScript syntax for these tasks.  A
> schedule can trigger an AppleScript;  now, if an Applescript can apply a
> rule to a set of messages/maiboxes, I think we'd have something Mark could
> use easily.
> 
> -- Joshua
> 
> 
> On 5/13/04 1:46 PM, "Barry Wainwright" <[EMAIL PROTECTED]> wrote:
> 
>> On 13/5/04 8:24 pm, "Mark Goodman" <[EMAIL PROTECTED]> wrote:
>> 
>>> There are many reasons but here's one example: At 6:00 AM run a script that
>>> moves all read messages in my Inbox that are older than seven days, that are
>>> set to category "faxes", and move them to the "Fax Archive" folder. At the
>>> same time, strip the PDF attachments and save them to a �Fax Storage�
>>> folder
>>> on my hard drive.
>>> 
>> 
>> All of these things can be done with a moderately simple applescript, and a
>> schedule can be set to run this script at 6:00pm
> 
> --
> 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