home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15045 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  837 b 

  1. Path: sparky!uunet!sun-barr!ames!data.nas.nasa.gov!taligent!apple!mumbo.apple.com!gallant.apple.com!NewsWatcher!user
  2. From: jpugh@apple.com (Jon Pugh)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Closing AppleTalk
  5. Message-ID: <jpugh-050992190641@90.20.3.218>
  6. Date: 6 Sep 92 02:11:35 GMT
  7. Sender: news@gallant.apple.com
  8. Followup-To: comp.sys.mac.programmer
  9. Organization: Apple Computer, Inc.
  10. Lines: 16
  11.  
  12. I'm tired of using the Chooser to turn Appletalk on and off on my PowerBook
  13. (way too may OK buttons), so I tried writing a simple FKEY to toggle
  14. AppleTalk:
  15.  
  16. IF IsMPPOpen THEN
  17.    err := MPPClose
  18. ELSE
  19.    err := MPPOpen;
  20.  
  21. This seems to work, but someone keeps calling MPPOpen after I close it and
  22. everything (like File Sharing) starts back up.
  23.  
  24. Does anyone know what else I need to do to turn AppleTalk off?  What does
  25. the Chooser do?
  26.  
  27. Jon
  28.