Another reason may be that in older versions of applescript displpay dialog
and 'set clipboard' and maybe a few other commands only worked when the
target app was in front. I have come across activates that are hangovers
from these days in scripts whose history goes way back.

-- 
Barry Wainwright
<http://www.barryw.net>


"People that are really very weird can get into sensitive positions and have
a tremendous impact on history."  --  George W. Bush, Jr.


> From: Paul Berkowitz <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Date: Fri, 09 Aug 2002 09:05:27 -0700
> To: Entourage Mac Talk <[EMAIL PROTECTED]>
> Subject: Re: Bizarre Entourage X Behavior
> 
> By way of explanation: the reason why 'activate' has found its way into some
> scripts designed to be run automatically from rules and schedules (and thus
> where Entourage may be in the background) is probably that when a scripter
> tests out scripts from a script editor (which is in the front when you start
> testing), it's often helpful or even necessary to have the targeted
> application (Entourage here) come to the front while executing. I guess
> Allen forgot to remove a couple of these commands when the scripts were
> complete - that's quite easy to do.  'activate' will not ever be a nuisance
> in scripts run manually from the Scripts menu, since by definition Entourage
> is in the front when you access the menu.
> 
> -- 
> Paul Berkowitz
> 
>> From: Jim Baskins <[EMAIL PROTECTED]>
>> Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
>> Date: Fri, 09 Aug 2002 08:20:52 -0500
>> To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
>> Subject: Re: Bizarre Entourage X Behavior
>> 
>> On 8/7/02 10:55 AM, Allen Watson [EMAIL PROTECTED] wrote:
>> 
>>> I'll have to remove that statement from the Strip HTML script.
>> 
>> And from "Set Mail Client Category" although I don't remember if that was an
>> official published script on your website or cooked up on this list. That
>> was the one that got me :-)
>> 
>> Jim
>> 
>>> On or near 8/6/2002 3:35 PM, Doug Brightwell at [EMAIL PROTECTED]
>>> observed:
>>> 
>>>> On 8/6/02 10:34 AM, "Allen Watson" <[EMAIL PROTECTED]> wrote:
>>>> 
>>>>> You may have some rule that is running an AppleScript, and that script has
>>>>> an "activate" statement in it. Find that script and remove the "activate"
>>>>> statement.
>>>> 
>>>> Allen...
>>>> 
>>>> Thank you. Thank you.
>>>> 
>>>> Indeed I do. I have a rule running one of yours, in fact! Strip HTML.
>>>> 
>>>> Not being an Apple script kinda guy, I just went into the script editor and
>>>> deleted the line of text with the word "activate", saved and closed.
>>>> 
>>>> Is that all there is to it? No esoteric gotchas?  Cool!
>>>> 
>>>> My apologies for casting aspersions upon the blameless. I hereby remove one
>>>> debit from the Microsoft column. :-)
>>>> 
>>>> Thanks again for your help.
>>>> 
>>>> Doug
>>>> 
>>>> 
>>>> ------------------------
>>>> Doug Brightwell
>>>> [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/>
>> 
> 
> 
> -- 
> 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