home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Hyper / U-Z / Windoid 1.6-1.10(Stacks).sit / Windoid 1.6-1.10 (Stacks) / Windoid 1.10 / Windoid 1.10 / card_7800.txt < prev    next >
Encoding:
Text File  |  1990-03-24  |  9.3 KB  |  105 lines

  1. -- card: 7800 from stack: in.10
  2. -- bmap block id: 8162
  3. -- flags: 4000
  4. -- background id: 2773
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 10
  9. ----- text -----
  10. volume 1 ‚Ä¢  number  10  ‚Ä¢  card 9  ‚Ä¢
  11.  
  12. -- part contents for background part 12
  13. ----- text -----
  14. ___________________________________________ by Sandy Melnik
  15.  
  16. Q: I just bought a Mac II; why don‚Äôt my visual effects work anymore?
  17.  
  18. A: Visual effects only work in 2-bit mode; select ‚ÄúControl Panel‚Äù from the Apple menu, click on the Monitors icon, and click on Black and White.
  19. _________________________________________________________
  20.  
  21. Q: My friend just gave me a stack and there‚Äôs a neat icon in it I would like to move to one of my stacks.  How can I move it there?
  22.  
  23. A: If you‚Äôre handy with ResEdit, you can use that to move the icon into your own stack.  An easier method is to use ResCopy, and XCMD available on many on-line services and from user groups.  And finally, for those of you with neither of the above, choose the Button tool while inside the stack with the neat icon.  Click on the button with the neat icon, and select ‚ÄúCopy Button‚Äù from the Edit menu.  Go to the stack where you‚Äôd like to install the button, and select ‚ÄúPaste Button‚Äù from the Edit menu.  The icon resource will be moved along with the button.
  24. _________________________________________________________
  25.  
  26. Q: If I select some text in a field and then click a button, the selection goes away.  What can I do?
  27.  
  28. A: You can turn off the autohiliting in the button.  (Choose the Button tool and double click on the button.  In the dialog that opens up, uncheck the  ‚ÄúAutohilite‚Äù box.) The Human Interface Guidelines state that only one item (text, a button, etc.) can be hilited at a time.
  29. _________________________________________________________
  30.  
  31. Q: How can I stop a user from pressing Command-Period during one of my scripts?
  32.  
  33. A: You can‚Äôt.  But if your script involves hiding and showing buttons and fields, here‚Äôs a way you can make sure the stack is returned to normal in the event a user presses Command-Period during the process: at the start of the script, put ‚Äúset the cantModify of this stack to true‚Äù.   Also, in your idle handler, add the line ‚Äúset the cantModify of this stack to false‚Äù.  That way, if the user cancels during the hiding and showing, the stack will revert to the way it was before the user initiated the action.
  34. _________________________________________________________
  35.  
  36. Q: I downloaded a stack and when I click on some of the buttons, I get the message ‚ÄúCan‚Äôt understand what‚Äôs after "lock"‚Äù or ‚ÄúCan't understand what's after "find"‚Äù.  How can I fix it?
  37.  
  38. A: You‚Äôre using an older version of HyperCard.  You‚Äôll need to obtain version 1.2.2 (the latest version) in order to run the stack.
  39. _________________________________________________________
  40.  
  41. Q: How can I get the latest version of HyperCard?
  42.  
  43. A: If you already own HyperCard, you may bring some proof of purchase (either the original floppy disks or a sales receipt dated after August 1987) to your local authorized Apple dealer, along with some blank floppies, and he‚Äôll give it to you.  Bear in mind that some dealers charge for the upgrade.  You may also obtain the latest version from a local user group that has authorization from Apple to distribute HyperCard.
  44. _________________________________________________________
  45.  
  46. Q: Okay, I have the latest version of HyperCard.  Now where do I find some stacks to use with it?
  47.  
  48. A: There are three good ways to get thousands and thousands of stacks.  On-line services such as CompuServe, Delphi, America On-Line, and MacNet have libraries of stacks for downloading.  In order to obtain these stacks, you‚Äôll need an account on one of the services, a modem, and a communications program (Red Ryder is an example; some services provide specialized software that has been customized to make it easier and faster to use the service).  Local Macintosh BBSs (Bulletin Board Systems) are also good sources for stacks.  Don‚Äôt have a modem?  Then check with your local Mac user group, as most have a vast array of stacks.  Some large user groups, such as BMUG in Berkeley, will provide you with disks full of public domain and shareware stacks for the cost of the diskette.  And finally, there‚Äôre several mail order companies that sell disks full of stacks, for the cost of the diskette and shipping and handling.
  49. _________________________________________________________
  50.  
  51. Q: Frequently, when I attempt to paint on a card, I get the message ‚ÄúNot enough memory to use paint tools.‚Äù What should I do?
  52.  
  53. A: There are several things you can do to free up some memory in order that you can access the paint tools; depending on your system configuration, any and all of these tips might help:
  54.  
  55. 1.  Turn off memory-hungry INITs and cdevs.  SoundMaster can take up a huge amount of memory if you are using large sound files.  ColorDesk is another cdev that can take up a large amount of RAM.  After turning off or moving INITs and cdevs out of the System folder, reboot your machine; you should find that you have more memory now in which to work.
  56.  
  57. 2.  Run under Finder instead of MultiFinder.
  58.  
  59. 3.  Turn off the RAM cache via the Control Panel; HyperCard doesn‚Äôt use it anyway.  At the least, lessen the amount of the RAM cache.
  60.  
  61. 4.  Allocate more memory to HyperCard via the Finder: click on the HyperCard application (while it‚Äôs not running), select ‚ÄúGet Info‚Äù from the File menu, and increase the amount of the application memory size.  The absolute minimum is 750K; if you‚Äôre having memory problems, try increasing the amount by 256K increments until you are able to use the paint tools.
  62.  
  63. 5.  Remember to put ‚Äúempty‚Äù into large variables when you‚Äôre done with them.  This is more important for users with 1 megabyte of RAM.  Also bear in mind that you needn‚Äôt use many variables when one will do: rather than using variables called name, sex, and age, you can put all four into one variable like this:
  64.  
  65.     put "Bob Jones" into line 1 of singleVariable
  66.     put "Male" into line 2 of singleVariable
  67.     put "04/13/63" into line 3 of singleVariable
  68.  
  69. You can then reference an item in the variable by referring to "line 2 of singleVariable".
  70.  
  71. 6.  Install more RAM in your system (if you do this, you can probably skip all of the above steps.)
  72. _________________________________________________________
  73.  
  74. Q: Whenever I try to launch an application or another stack from inside HyperCard, I get the standard file dialog asking questions like ‚ÄúWhere is "My Hard Disk:Applications:Excel‚Äù?
  75.  
  76. A: These one crops up all the time; even the best scripters suffer from the problem now and then.  What you need to remember is that a path like ‚ÄúLucretia: My Applications: HyperCard‚Äù is not the same as ‚ÄúLucretia:My Applications:HyperCard‚Äù.  I‚Äôll bet you didn‚Äôt even notice the difference between the two!  Look:
  77.  
  78.     First    ->Lucretia: My Applications: HyperCard
  79.     Second   ->Lucretia:My Applications:HyperCard
  80.  
  81. The first contains spaces, the second does not.  It is imperative that you specify the EXACT pathname, including (or excluding) spaces, trademark symbols, bullets, and the like.  In the Finder, check to make sure that you have the names exactly right; if your script still doesn‚Äôt work, check the file names to make sure they don‚Äôt have an extra space at the end, or perhaps two spaces instead of one in the middle.
  82.  
  83. By the way, when you're running a script containing simply ‚Äúopen "Red Ryder"‚Äù, HyperCard may ask you, the first time you run your script, where ‚ÄúRed Ryder‚Äù is.  Once you have pointed ‚ÄúRed Ryder‚Äù out to HyperCard via the standard file dialog, it will store the path information in the Home stack and it won‚Äôt ask you again unless you run your stack from another system (which would have an entirely different set of paths).
  84. _________________________________________________________
  85.  
  86. Q: Lately, when I launch an application from HyperCard, when I quit the application, I no longer return to HyperCard.  What have I done wrong?
  87.  
  88. A: You haven‚Äôt done anything wrong; you‚Äôre probably using Symantec‚Äôs anti-viral program SAM.  Turn off or remove SAM and you‚Äôll once again return to HyperCard after quitting programs you‚Äôve launched from HyperCard.  See the ‚ÄúRead Me‚Äù file on your SAM master disk for more information.  If you‚Äôre not running SAM, then it may be a low-memory situation.  See the section above regarding freeing up memory.
  89. _________________________________________________________
  90.  
  91. Q: How much data can I get into a single global?  What‚Äôs the maximum number of globals I can use?
  92.  
  93. A: It depends on the size of the memory partition. When running under Finder (or with a MultiFinder parition of 750K) I have found that the most I have been able to stuff into any one global is between 161-185K.  The larger the memory partition, the more you can stuff into the global. You can have as many globals as memory will allow.   The more data you have in a global, the fewer globals you can use.  Watch the heapSpace (‚Äúput the heapSpace‚Äù) so that you‚Äôll know when you‚Äôre running low.  Increase the MultiFinder partition if necessary.  A better way is to reuse globals: unless you *must* have a different global for every piece of data in a script, reuse the same globals over and over.
  94. Ô£ø
  95.  
  96. -- part contents for background part 5
  97. ----- text -----
  98. Answers to Frequently-Asked Questions
  99.  
  100. -- part contents for background part 16
  101. ----- text -----
  102.  
  103.  
  104.  
  105. Print article text