Re: parents ScriptEditor and Smile
Re: parents ScriptEditor and Smile
- Subject: Re: parents ScriptEditor and Smile
- From: Emmanuel <email@hidden>
- Date: Thu, 15 Feb 2001 17:25:32 +0100
At 9:36 +0100 15/02/01, email@hidden wrote:
>
The parent property and other libraries are included in the applet at compile
>
time, but osax are not (pity).
>
Note that you cannot make a script portable *and* editable by setting a
>
property to a loaded script object.
>
>
property parent: load script file "hd:filename"
>
--> fails on different machine due to different path
>
>
property parent: load script file ((":" as alias) as string & "filename")
>
--> fails on different machine because ":" as alias evaulates to the path
>
to the Script Editor application, not the applet.
Independently of the specific problem of Smile pointed out by Patrick,
later post(s) suggest it could be useful to restate what Jeff wrote.
Back to Patrick's example, the "Dad" and "Mom" applets are not used except
at compile time ("the parent property is included in the applet at compile
time"). You may trash them then.
Emmanuel