Re: [MacPerl-Toolbox] Mac::OSA::Simple and Applescript properties

[email protected] (Chris Nandor) Tue, 30 Jul 2002 23:22:55 -0400
Newsgroups perl.macperl.toolbox
Message-ID <p05111b10b96d083d4e4b@[10.0.1.177]>
At 18:48 -0400 2002.07.18, Chris Nandor wrote:
>Well, I changed line 178 from:
>    $self->{ID} = OSACompile($self->{COMP}, $self->{SCRIPT}, 0) or
>
>to:
>    $self->{ID} = OSACompile($self->{COMP}, $self->{SCRIPT},
>kOSAModeCompileIntoContext) or
>
>And it gets the behavior you expect.  I am not entirely sure this is the
>Right Thing, although it certainly seems to be; if it is the right thing, I
>wonder if it should be an option.

I've read up on what I could find about this in IM:IAC, and it seems that
this is the right thing.  I couldn't really find any downside to this
change; if someone objects, I can add back the old behavior, maybe with a
switch, or separate function, or something.

-- 
Chris Nandor                      [email protected]    http://pudge.net/
Open Source Development Network    [email protected]     http://osdn.com/