Re: including source code
Re: including source code
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?
I would check out ScriptDebugger. It's not free, but it does have the
ability to automatically include handlers and libraries in your
scripts in a way that requires a few steps to set up and then works
without any extra effort.
http://www.latenightsw.com/sd4/
ES
_______________________________________________
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