Hello,

What magic does Entourage perform with scripts that run from a schedule?

Running a script from Sripteditor took 131 seconds, saved as application and
run 36, and run from an ET schedule only 3. Another script ran 31, 12, and 2
secs, resp.

The fast run as App is trivial, but starting the scripts from Entourage --?
What is happening here, and could I have that outside ET, too, please, maybe
with extra cream and a cherry? :-)


Bert

Re: What magic? by Barry

Barry
Wed Feb 01 10:09:20 CST 2006

On 1/2/06 15:49, in article C0069705.2740%brtfgz@freenet.de, "Berthold
Fagerz" <brtfgz@freenet.de> wrote:

> Hello,
>
> What magic does Entourage perform with scripts that run from a schedule?
>
> Running a script from Sripteditor took 131 seconds, saved as application and
> run 36, and run from an ET schedule only 3. Another script ran 31, 12, and 2
> secs, resp.
>
> The fast run as App is trivial, but starting the scripts from Entourage --?
> What is happening here, and could I have that outside ET, too, please, maybe
> with extra cream and a cherry? :-)
>
>
> Bert
>

Did you want the full technical answer, or just the 'Layman's Lunch'?

For the latter, it has to do with fancy stuff like frameworks, scope etc.
Fur the full explanation start browsing at http://developer.apple.com

Can you have this performance outside of Entourage? Certainly. Entourage
does nothing out of the ordinary here. Simply run your (compiled) scripts
from the system script menu (the little black scroll on the right hand side
of your menu bar).

If that menu icon is not showing, open /Applications/AppleScript/AppleScript
Utility.app/ and check the box to display it.

--
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Check out the Entourage User's WebLog for hints, tips and troubleshooting
<http://homepage.mac.com/barryw/weblog/weblog.html>


Re: What magic? by Berthold

Berthold
Thu Feb 02 05:28:58 CST 2006

Barry Wainwright [MVP] wrote/schrieb:

> Did you want the full technical answer, or just the 'Layman's Lunch'?
>
> For the latter,
...

Thank you, I am fully satified. :-)

Bert