Re: Load Script
Re: Load Script
- Subject: Re: Load Script
- From: Luther Fuller <email@hidden>
- Date: Thu, 26 May 2011 17:20:22 -0500
On May 26, 2011, at 4:05 PM, Axel Luttgens wrote:
> OK, I guess some miscommunications occurred throughout this thread...
> Because of differing runtime environments.
I was not running anything from within the Smile or AS Editors.
I think the similarity between the commands
run script scriptFileAlias
and
run (load script scriptFileAlias)
is the source of the confusion.
They seem, at first, to do exactly the same thing. However, the first is a StandardAdditions command, while the second is an AppleScript command. The first seems to be running a script object as if it were 'run (script scriptFileAlias)', but it's not.
I think that the inability of the first command to include access to the parent script's properties must be a bug.
I can't think of any good reason to include the parent's handlers, but not it's properties. It just doesn't add up.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden