home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / pathchan.cpt / PathChange / BMAP_4205.png < prev    next >
Portable Network Graphic  |  1992-07-20  |  6KB  |  512x342  |  1-bit (2 colors)
Labels: text | font | screenshot | black and white
OCR: The PathChange external command (XCMD) is designed to change the paths in the home stack after you, or someone else has changed the name of the disk HyperCard resides on. These fields are labeled "Look for Stacks in:", "Look for Applications in:", "Look for Documents in:". In order to function you need to add some script to the home stack which checks the name of the current volume and if it is different than what it was the last time HyperCard was opened, it changes all the path strings. You also need to add a hidden field to the home stack which saves the old name of the volume. I suppose you could do this differently than I did, but I provide my scripts if you don't feel like writing your own. Just add the "SetVolume" handler to your home stack, and call it in the "on openStack" handler ...