Re: load script question
Re: load script question
- Subject: Re: load script question
- From: Michelle Steiner <email@hidden>
- Date: Fri, 29 Jun 2001 00:06:01 -0700
On 6/28/01 11:45 PM, Sun Real <email@hidden> wrote:
>
>>You may have other stuff to do with the script, but if that's *all* you
>
>>want, you don't need to load the script - just run it. The result is
>
>>returned.
>
>>
>
>>run script alias "Dora:set x"
>
>>-->{10, 20, 30}
Actually, only 10 is returned.
>
>Nope; that won't do it because the variables are not defined.
>
>
No biggy, but I wrote your example into 2 scripts & ran it. It
>
definitely worked & returned the desired result. I wouldn't have posted
>
it otherwise. :-}
My script or your script? I'm confused.
>
If your first script has the declarations you previously posted in its
>
implicit run handler & you run the script, the variables will be defined,
>
err, won't they?
Nope:
run script alias "Dora:set x"
x
The event log shows this:
>
tell current application
>
run script alias "Dora:set x"
>
--> 30
>
--> The variable x is not defined.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------