• 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: Saving handler-defined scripts without source code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Saving handler-defined scripts without source code (From: Andy Wylie <email@hidden>)

  • Prev by Date: Re: Change properties in one applet from another
  • Next by Date: Re: Saving handler-defined scripts without source code
  • Previous by thread: Re: Saving handler-defined scripts without source code
  • Next by thread: Re: Saving handler-defined scripts without source code
  • Index(es):
    • Date
    • Thread