Le 13 mai 07 à 20:17 Soir, Norman Palardy a écrit:

> On 13-May-07, at 12:13 PM, Knut Lorenzen wrote:
>
>> Arnaud Nicolet schrieb dereinst (am 13.05.2007 20:06 Uhr) via
>> [EMAIL PROTECTED]:
>>
>>>>>> As Christian mentioned though, the scripts are not precompiled
>>>>>> and so
>>>>>> there can be some "start up" cost associated with executing one.
>>>>>>
>>>>>> If you dont use MBS there is no way around this that I am  
>>>>>> aware of
>>>>>
>>>>> MBS is magic?
>>>>
>>>> Sometimes it just lets you do things that look like magic
>>>
>>> Yes, usually I think it's just hard declares or complex structures.
>>
>> You can compile AppleScripts (even as text) using a shell and the
>> command
>> osacompile, e.g.
>>
>> osacompile -e 'display dialog "Hello world!" buttons {"OK"} default
>> button
>> 1' -o Hello\ World.app
>>
>> In Terminal.app, see man osacompile for more info.
>
> Does that help when you use it inside RB ?
> I think that's where the precompilation inside a running application
> using MBS can help make it so there is no "startup" cost to  using an
> applescript

You're right.
The benefit, thought, is that you can avoid external items (scripts  
imported or stored in a bundle).
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to