• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: parents ScriptEditor and Smile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: parents ScriptEditor and Smile (From: email@hidden)

  • Prev by Date: Re: Permutation Handler
  • Next by Date: Re: Choose from list change in AS 1.5.5
  • Previous by thread: Re: parents ScriptEditor and Smile
  • Next by thread: Re: parents ScriptEditor and Smile
  • Index(es):
    • Date
    • Thread