• 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: Reading Lists and Records from Disk Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading Lists and Records from Disk Files


  • Subject: Re: Reading Lists and Records from Disk Files
  • From: "Jason W. Bruce" <email@hidden>
  • Date: Wed, 10 Jan 2001 12:33:59 +0000

Richard23,

I learned the technique of loading a compiled script as a parent to
a main script from Arthur Knapp some time ago on this list -- thanks, Arthur
-- but I'm pretty sure the technique has been around for some time. If you
think about it, the mechanism is quite intuitive. Compiled scripts are
themselves script objects with implicit Script/ End Script statements, so
it's logical that standalone compiled scripts loaded into a main script can
behave the same way as script objects declared wholly within a compiled
script.

I've come to believe that AppleScript is a very well designed
language. I didn't realize this until I took a look at Python (considered to
be well designed) and found its design and AppleScript's to be similar.

Jason Bruce

> Subject: Re: Reading Lists and Records from Disk Files
> Date: Tue, 9 Jan 2001 14:40:00 -0800
> From: Richard 23 <email@hidden>
> To: <email@hidden>
>
>> Property parent : load script alias "Hard drive:foo"
>>
>> foohandler() -- executes foohandler defined in foo
>>
>> fooproperty of parent -- gets fooproperty defined in foo
>
> Well, shut my mouth! That may be very close to what I've been
> looking for. Where did the idea to set the parent property to
> a loaded script? Fantastic! I've done that with scripts
> generated with run script:


  • Prev by Date: Re: Downloading OS 9.1
  • Next by Date: Re: AppleScript 1.5.5
  • Previous by thread: Re: Reading Lists and Records from Disk Files
  • Next by thread: Progress bar? (I know this has been asked before.)
  • Index(es):
    • Date
    • Thread