Re: Learning Apple Script
Re: Learning Apple Script
- Subject: Re: Learning Apple Script
- From: Greg Reyna <email@hidden>
- Date: Wed, 1 May 2002 00:06:53 -0700
Here I am answering my own question...
I see that it's the "load script" command that I've been looking for.
Danny Goodman's example of this command is right on the mark for me,
I only had to translate it out of labeled parameter style into
"normal".
I found a copy on the Internet of the disk files that originally came
with his book, and see that the labeled param subroutines that
continue through his book are connected to some string processing
libraries, with subroutines written in the same "labeled" style, that
Apple put together back in 1993.
Well, that's enough for today.
Greg
I do have a couple of questions that I haven't discovered the
answers to yet. (what, only a couple?)
I thought that I could put a subroutine into a separate file and
call it like an internal subroutine as long as it was in the same
directory as the main script, but found that it isn't quite that
simple. I guess the answer to this may be in "Script Objects",
which I'll be poking my head into next. I'd like to know how to
call a script in the same way as a subroutine, pass args and run it,
then get back to the original script.
Thanks, Greg
BTW I see that Applescript doesn't do "parsing"--too bad, I kinda
liked that...
--
_______________________________________________
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.