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: Steven Angier <email@hidden>
- Date: Mon, 13 Jan 2003 23:35:28 +1100
On 13/1/03 10:07 PM, "Andy Wylie" <email@hidden> wrote:
>
Perhaps this what you're looking for Steve, load from a blank script file
>
and set something to an undefined variable...
>
>
set pStr to (choose file) as string
>
set scpt to load script alias pStr
>
set scpt's foo to "anything"
>
store script scpt in alias pStr replacing yes
>
(load script alias pStr)'s foo
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?
Steven Angier
Macscript.com
_______________________________________________
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.