shull@desci.wharton.upenn.edu (Christopher E. Shull) (01/30/91)
Hi! I have a warning and a question: Warning: Mac IIci, 6.0.7, HyperCard 1.2.5. Script editor hangs on every "beep", ie. when you accidentally press <command-s> to save instead of <enter>, "beep" means you can press the reset button now. Similarly, after the last successful "find", you "find" once more, and, again, "beep" means that you are screwed. Solution: Install 6.0.5. Whether this effects folks with IIsi's, LC's and Classics I have know idea, but the solution obviously doesn't apply. :-( Question:I want to adjust the width of a button to match the width of its text label. Short of using the average pixel width of a character in the font, preferably a fixed width one, and multiplying by the number of characters in the label, I can't think of a nice way to do this. Any ideas or suggestions? -Chris Christopher E. Shull shull@wharton.upenn.edu Decision Sciences Department shull@desci.wharton.upenn.edu The Wharton School University of Pennsylvania 3620 Locust Walk voice: 215/898-5930 Philadelphia, PA 19104-6366 fax: 215/898-3664 --------------------------------------------------------------------------- "Damn the torpedoes! Full speed ahead!" Admiral Farragut, USN, 1801-1870 ---------------------------------------------------------------------------
clarson@ux.acs.umn.edu (Chaz Larson) (01/30/91)
In article <36590@netnews.upenn.edu> shull@desci.wharton.upenn.edu (Christopher E. Shull) writes: |I have a warning and a question: | |Warning: Mac IIci, 6.0.7, HyperCard 1.2.5. Script editor hangs on every |"beep", ie. when you accidentally press <command-s> to save instead of |<enter>, "beep" means you can press the reset button now. Similarly, after |the last successful "find", you "find" once more, and, again, "beep" means |that you are screwed. Solution: Install 6.0.5. Whether this effects |folks with IIsi's, LC's and Classics I have know idea, but the solution |obviously doesn't apply. :-( Here's the reason and a fix or two: System 6.0.7 includeds the System 7.0 Sound Manager, which HyperCard 1.x cannot deal with. You can fix this a couple ways: 1. Reinstall 6.0.5 as you mentioned; 6.0.5 uses the old Sound Manager. 2. Upgrade to HyperCard 2.0v2. 3. Or, if you really want to use HyperCard 1.x with System 6.0.7, put the following two scripts in your home stack: on play param end play on beep end beep Then set the speaker volume to zero before you launch HC 1.2.5. chaz -- Someone please release me from this trance. clarson@ux.acs.umn.edu AOL:Crowbone