• 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: Can AppleScript Include script files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can AppleScript Include script files?


  • Subject: Re: Can AppleScript Include script files?
  • From: Emmanuel <email@hidden>
  • Date: Mon, 10 Jan 2005 19:10:50 +0100

At 4:04 PM +0000 1/10/05, has wrote:
Steve wrote:
I've tried load script and put the common code into that file and again, no luck.

This is the usual way to do it: load the library script into a property and access its properties and handlers there, e.g.:


property _MyLib : load script (alias "path:to:script")

_MyLib's someVar
_MyLib's doSomething()

If you work with Smile, using libraries can be much easier than without.

Check Smile at:
<http://www.satimage-software.com>

 and see about using libraries in Smile at:
<http://www.satimage.fr/software/en/libraries.html>

Emmanuel
From Satimage-software, the authors of Smile.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Can AppleScript Include script files?
      • From: Robert Poland <email@hidden>
References: 
 >Re: Can AppleScript Include script files? (From: has <email@hidden>)

  • Prev by Date: A request
  • Next by Date: Re: Reading a pdf text file
  • Previous by thread: Re: Can AppleScript Include script files?
  • Next by thread: Re: Can AppleScript Include script files?
  • Index(es):
    • Date
    • Thread