Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!texbell!bigtex!pmafire!geoff From: geoff@pmafire.UUCP (Geoff Allen) Newsgroups: comp.sys.mac.hypercard Subject: How do I get the pathname? Message-ID: <716@pmafire.UUCP> Date: 18 Aug 89 20:49:56 GMT Reply-To: geoff@pmafire.UUCP (Geoff Allen) Organization: WINCO, INEL, Idaho Lines: 32 OK, I give up! Can someone answer my question? In _The HyperCard Developer's Guide_, Danny Goodman suggests creating an "Installer" stack, whose purpose is to install a button for your stack on the user's Home Card. "Good idea!" says I and I try to do it. He gives some pseudocode for his installation routine and says it's very simple to do. He says in the pseudocode something like "assemble pathnames" and promises to explain in more detail in Chapter 5. I can find nothing on the subject in Chapter 5. The index, under "pathnames," only lists pages in the area of the discussion mentioned above. I also checked _HyperTalk_ by Lon Poole. Nothing on pathnames. I scoured the Help stacks looking for something. No luck. So. How do I get the pathname to stack x (or the current stack) from within a script. I can always just put my button on the user's Home Card and let HyperCard ask him "Where is stack x" when he trys to go there, since Hypercard will then add the necessary line to the "Look for stacks in..." card. But this seems clumsy, and I want to be a little slicker and more transparent to the user. Any help will be greatly appreciated. -- Geoff Allen - WINCO Computer Process Engineering ------------------------------------------------------------------------------ ...{uunet|bigtex}!pmafire!geoff | Disclaimer: WINCO doesn't believe in Macs, ...ucdavis!egg-id!pmafire!geoff | so of course these are my own views.