Calling other scripts?
Calling other scripts?
- Subject: Calling other scripts?
- From: Ivan <email@hidden>
- Date: Sat, 01 Dec 2001 11:38:03 -0700
I'm still a novice, and have looked everywhere I can think of, but can't
find what I'm looking for. I'm not even really sure what to search for.
I've also experimented quite a bit, all to no avail.
What I need is to get a property from another script, or alternately call a
handler of that script that would return said property. I have a script,
"File++", that keeps track of what newsletter my father is currently
working on. I am making a script that will stuff and email it
automatically. I would like to have it ask "File++" for the current file
and go from there.
One possible problem, is that I'm using system 7.5.5. My father however has
9. I'm sorry I don't remember what versions of AS (I'm on campus right
now). Several things (many of them essential to the scripts I've written)
work on my father's computer don't on mine. I usually do the final work
when I am at his house. Could that be an issue here?
Is this even possible? It seems like it should be, but things that seem
easy often aren't.
I could alternately try to reverse engineer which is the current file by
looking at names and modification dates etc. but that's pretty tacky.
Another thought I had was to have "File++" store the path to the current
file somewhere readable (say it's own comments) and then have the new
script read that. Any comments as to advantages or disadvantages of these
methods?
Any hints as to where to search and for what would be greatly appreciated.
Ivan Andrus
AS scripter wanna-be
PS. I've learned tons by lurking. Thanks!