Re: How to use property from one script file in another
Re: How to use property from one script file in another
- Subject: Re: How to use property from one script file in another
- From: "leo" <email@hidden>
- Date: Fri, 7 Nov 2003 09:56:49 +1100
hi
i'm not an expert, but to my knowledge it doesn't seem to be possible:
properties are some how stored inside the script. cross script communation
might be done via files: currenty i try to work out how to store a value in
a little text file.
but hang on: you talked about applescript _studio_: i guess, then you could
use the "defaults" system of os x. see "man defaults". [i haven't used it
yet, just got the hint from this list. ;-) ]
cheers, leo
----- Original Message -----
From: "Frank" <email@hidden>
To: <email@hidden>
Sent: Friday, November 07, 2003 8:20 AM
Subject: How to use property from one script file in another
>
Hi,
>
>
I am working on my first Applescript Studio appliction in which I split
>
the code into two files. The first file defines a property referring to
>
a tableview datasource. I need to use this property in the second
>
script file, but cannot find how to properly refer to it.
>
>
Just using it as a variable gives errors like "variable .....
>
undefined". Unfortunately I could not locate documentation on how to
>
refer to a property in another script file.
>
>
Regards,
>
>
Frank
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.