home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / hypercar / 3287 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.7 KB  |  59 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!news.uiowa.edu!ffang
  3. From: ffang@newsuiowa.edu (Francis Fang)
  4. Subject: Re: nul font?
  5. Sender: news@news.uiowa.edu (News)
  6. Message-ID: <1992Aug28.220116.4190@news.uiowa.edu>
  7. Date: Fri, 28 Aug 1992 22:01:16 GMT
  8. References: <86945@netnews.upenn.edu>
  9. Nntp-Posting-Host: grover.printing.uiowa.edu
  10. Organization: University of Iowa, Iowa City, IA, USA
  11. X-Newsreader: Tin 1.1 PL3
  12. Lines: 45
  13.  
  14. gasser@eniac.seas.upenn.edu (Nathan Gasser ><>) writes:
  15. : In article <1992Aug25.032959.9437@monu6.cc.monash.edu.au> steven@monu6.cc.monash.edu.au (Steve Stergakis) writes:
  16. : >
  17. : > i am currently working under hypercard 2.1... and am trying to
  18. : >imitate the passwd fields on the system and employee & department 
  19. : >stacks...
  20. : >
  21. : >the problem is [...problem deleted...]
  22. : The easiest way to do this in HC2.1 is with the "ask password" command:
  23. : on mouseUp
  24. :   ask password "What's the password?"
  25. :   if it is "shoelace" then ...
  26. :   ..
  27. : end mouseUp
  28. : This will cause all the characters typed in the "ask" box to be bullets.
  29. : Not the solution you were aiming at, but I hope it does what you need.
  30. : >thanks in advance
  31. : >steven
  32. : Nate.
  33. : --
  34. : Nathan Gasser       ><>         
  35. : gasser@eniac.seas.upenn.edu     
  36.  
  37. The above works great except that you have to be careful as the above
  38. solution also encodes the user's response to the ask password prompt
  39. into some numbers. 
  40.  
  41. Depending on what you are doing, you may not want the user's response to
  42. be encrypted. In my case, I did not want this encryption and I ended up
  43. creating my own font which had all the keyboard characters mapped to
  44. bullets.
  45.  
  46. Perhaps if someone could explain how to decrypt the response to ask
  47. password?
  48.  
  49.