• 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
[newbie questions]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Relative paths (was Re: [newbie questions])
      • From: Sander Tekelenburg <email@hidden>
    • Re: [newbie questions]
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Why is this so?
  • Next by Date: Re: [ANN] Report on AS 1.5.5 from AppleScript Sourcebook
  • Previous by thread: Re: Why is this so?
  • Next by thread: Re: [newbie questions]
  • Index(es):
    • Date
    • Thread