Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: load script question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: load script question



On 6/29/01 7:00 PM, Sun Real <email@hidden> wrote:

>Sorry! What I wrote there was really unclear. I pasted this code into a
>script which I saved to my desktop as "testScript":
>
>set x to 10
>set y to 20
>set z to x + y
>{x, y, z}
>
>
>Then I made another script with just this in it:
>
>run script alias "startupDisk:Desktop Folder:testScript"
>
>
>When I executed that line, this was the result:
>
>{10, 20, 30}

*nod* but you can't access the variables from the calling script.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.