• 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
including source code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

including source code


  • Subject: including source code
  • From: Jim Brandt <email@hidden>
  • Date: Fri, 20 Feb 2009 14:22:22 -0600

OK, so I've been writing scripts off and on (more off than on) for
maybe ten years now. While I first explored AS under OS9, I jumped
to OneClick because I found it more consistant back then. When OSX
became the OS of choice, I was forced to redo everything in AS.
The road has been challanging, but enlightening.

My question has to do with reusable code. Currently I have a half dozen
handlers that I keep in a single file and load using a "load script"
command. However, this means I load a fair amount of source code
that I may not need for the particular script I'm writing, in order to
get a single function that I do need. Is there a better way to do this?

Would I be better off loading each handler as a seperate piece of code?

Is there another option?

TIA, Jim

_______________________________________________
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: including source code
      • From: Simon Topliss <email@hidden>
    • Re: including source code
      • From: Emmanuel Levy <email@hidden>
  • Prev by Date: Mount AFP if Not already?
  • Next by Date: Mount AFP if Not already?
  • Previous by thread: Re: Mount AFP if Not already?
  • Next by thread: Re: including source code
  • Index(es):
    • Date
    • Thread