• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Load Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Load Script
      • From: Axel Luttgens <email@hidden>
    • Re: Load Script
      • From: Ron Hunsinger <email@hidden>
References: 
 >Load Script (From: Luther Fuller <email@hidden>)
 >Re: Load Script (From: Stan Cleveland <email@hidden>)
 >Re: Load Script (From: Luther Fuller <email@hidden>)
 >Re: Load Script (From: Alex Zavatone <email@hidden>)
 >Re: Load Script (From: Luther Fuller <email@hidden>)
 >Re: Load Script (From: Ron Hunsinger <email@hidden>)
 >Re: Load Script (From: Luther Fuller <email@hidden>)
 >Re: Load Script (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Load Script
  • Next by Date: Re: Load Script
  • Previous by thread: Re: Load Script
  • Next by thread: Re: Load Script
  • Index(es):
    • Date
    • Thread