Re: Saving handler-defined scripts without source code
Re: Saving handler-defined scripts without source code
- Subject: Re: Saving handler-defined scripts without source code
- From: Andy Wylie <email@hidden>
- Date: Tue, 14 Jan 2003 10:58:05 +1300
on 14/1/03 2:20 AM +1200: i wrote:
>
on Mon, 13 Jan 2003 23:35:28 +1100 Steven Angier wrote:
>
>
> That is very intriguing, but it doesn't work on my machine -- that is if I
>
> load the script file from another script, it doesn't contain foo. Seems like
>
> some AppleScript is getting confused somehow?
>
>
me too, alias pStr doesn't grow as I'd expect and it's foo is persistent
>
over restart, AS 1.3.7 & Smile. I think this is weirder yet...
>
>
property pStr : (choose file) as string
>
>
on _set(x, y)
>
set scpt to load script alias (my pStr)
>
set scpt's a to x
>
set scpt's b to y
>
end _set
>
>
to _get()
>
(load script my pStr)'s {a, b}
>
end _get
>
>
_set("look", " ma")
>
_get() as string
>
--> "look ma"
>
Sorry for the confusion, this appears to be a Smile feature
...to Smile Users List.
_____________________________ Andy
_______________________________________________
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.