[newbie questions]
[newbie questions]
- Subject: [newbie questions]
- From: Steve Ivy <email@hidden>
- Date: Tue, 23 Jan 2001 14:25:44 -0500
-- relative paths in applescript
ok, I've come from the land of Unix scripting to Applescript, and I'm
wondering how one does relative path on the Mac?
I have some scripts I'm packaging up in, well, a Mac OS 9 package, and I
want my scripts to all use relative paths to load resources and other
scripts. How do I do this?
-- save and close frustration
I have a script that opens and modifes a document in BrainForest, but for
the life of me I can't get the damn thing (the brainforest doc?) to
recognize the save or close commands. I get a "[whatever object] does not
understand the close message". This may be related to the fact that I've had
mixed results in giving the app a file to open. I have best results using an
alias (set foo to alias "path::to:file" .. open {foo}) but it feels kludgy.
what might I be doing wrong?
Thanks in advance for your help and patience!
--Steve