[comp.sys.mac.hypercard] Two neat home stack tricks

taylorj@yvax.byu.edu (09/21/89)

A while ago someone asked if there was a way to change the name of the Home
stack.  There is-- if you're brave enough to use ResEdit.  Open up HyperCard,
double click on "STR#", double click on "STR# 'Misc' ID = 1001", and you'll see
a bunch of strings.  The first string is the name of the Home stack.  Change
this string to whatever name you want to use.

Trick #2 involves the STR# resources described above and is very useful for
people on a network.  I recently tried to make a HyperCard menu system for my
computer lab.  I used the HyperCard "open" command to launch applications from
a nice friendly (and user-proof!) Home stack.  As anyone who is still reading
this probably knows, you have to have a separate home stack for each person
using HyperCard on the network.  So I put the home stack on each computer's
network startup disk.

This worked great except for one problem.  After launching an application,
HyperCard kept asking "Where is Home?" because it was not in the same place as
HyperCard itself.  Putting the path to the startup disk in the "Look for stacks
in:" section of the Home stack didn't work, of course, because it's the Home
stack that HyperCard can't find.  So after snooping around I found that the 2nd
string in the "Misc" STR# described above tells HyperCard where to look.  So I
simply changed ":HyperCard Stacks:" to "Network Startup:" (the name of the
startup disk) and everything worked beautifully!

This method requires that all the startup disks have the same name, but in a
lab situation like mine that's no problem.

Hope this is useful to someone....


Jim Taylor
Microcomputer Support for Curriculum   |
Brigham Young University               |   Bitnet: taylorj@byuvax.bitnet
101 HRCB, Provo, UT  84602             |   Internet: taylorj@yvax.byu.edu