On 5/15/04 1:48 PM, "Frederico" <[EMAIL PROTECTED]> wrote:

> Things to accomplish:
> 
> � Find and generate a list of Rules to choose from, as opposed to requiring
> the user to know and enter the *exact name* of the Rule (hard? Haven't
> looked at how to do this yet)

Not possible in normal AppleScript, but see below.

> � Find and generate a list of folders to choose from, on which to set focus
> on and apply the scheduled Rule (easy)

Not all rules have anything to do with folders, of course.

> � Build a generic Apply Rule ->[Rule]-script generator (fairly easy); best
> done with GUI elements and not keystrokes (to avoid inevitable conflicts)

Huh? 

> � Devise a method or application outline to avoid interference with the user
> when timed Rules must be applied (given that application/window/message
> focus seems to be required to execute the Rule)
> 
> If this is something you or others (are you listening, Paul B.?) would like
> to work on with me (non-commercial), I would be interested in tackling it.

It might be a mistake to try to do this by GUI methods, although you might
have luck. You should be aware that GUI scripting only works in Entourage
using menus, not buttons or any other controls, but since the submenu for
Message/Apply Rule/[List of Rules] _should_ be available you just might be
able to do it that way. You might even be able to get the list of rules this
way too. and have the user 'choose from list' using this list.

The main problem will be that in order for the Message/Apply Rule/ menu to
be available, a folder first has to be selected in the UI and then every
message in the folder selected. This -has_ to happen every time the schedule
runs. Although this can be done by AppleScript, it would always interfere
with whatever else you are doing at the time, and could create a mess. I
don't think this is a smart way to do it, because most of the time it will
interrupt you in whatever you're doing, or maybe fail.

The best way would be what Dan proposed, and I will look into this. But it
will be quite a big project and won't get done too quickly. However, it's
something I am genuinely interested in doing.

-- 
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 - **2004**, X
or 2001. It's often impossible to answer your questions otherwise.



-- 
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 - **2004**, X
or 2001. It's often impossible to answer your questions otherwise.


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