On 8/18/02 08:25, David Morganstein wrote:

> I use a simple script to open folders that receive new items so I know that
> folder has new mail.  Here is an example:
> 
> tell application "Microsoft Entourage"
>   open folder "Entourage"
> end tell
> 
> However, this script generates the same 'bizarre' behavior caused by the use
> of 'activate'.  That is, if Entourage and another app are both open, and the
> other app is in the foreground, the 'opened' folder window appears in front
> of the other apps windows...but Entourage is not brought to the foreground
> (which I wouldn't want to happen anyway!)
> 
> Is there another way to have the folder opened but not brought to the
> foreground?  It's very confusing to be working in another app and your
> windows suddenly is covered over by an Entourage window.

Welcome to Mac OS X!

Window layers in OS X can, indeed, cause some odd things, and I'm afraid
this is just one more of 'em.

You could determine which is the frontmost process when the script runs, and
if it's not Entourage, set that app to frontmost (again) after opening the
folder (or whatever; the same thing applies to opening other items).

George

-- 
George Clark - [EMAIL PROTECTED]



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