Re: Inheritance dilemma
Re: Inheritance dilemma
- Subject: Re: Inheritance dilemma
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 23 Apr 2003 09:34:15 -0700
On 4/23/03 8:57 AM, "David Graham" <email@hidden> wrote:
>
On Wednesday, April 23, 2003, at 08:30 AM, matt neuburg wrote (in
>
part):
>
>
> That's the kind of thing you were trying to do. m.
>
>
Matt,
>
>
First, thank you for the level of detail in your explanation. I think I
>
get what you are saying, but it doesn't really address my issue,
>
namely: how can you SET a property in a loaded script such that it
>
sticks? I understand that the new SE beta doesn't allow for property
>
persistence, but in my case this is an applet so the editor can't be a
>
factor in the equation.
You set the property to whatever you want, then *store script replacing
yes*. Forget about all the parent stuff. You were asking the wrong question.
set f to load script alias filePath
set f's foo to "bar2"
store script f in alias filePath replacing yes
--
Paul Berkowitz
_______________________________________________
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.