home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / scnote / scrnfkey.022 / ScreenFkey.make < prev    next >
Text File  |  1989-10-04  |  2KB  |  47 lines

  1. ##############################################################################################
  2. #                                                                   
  3. #    Apple Macintosh Developer Technical Support                        
  4. #                                                                   
  5. #    FKEY6 : Saves the contents of the main Macintosh screen to a PICT file.    
  6. #    Macintosh Developer Technical Support                            
  7. #                                                                   
  8. #    ScreenFKEY.make                                                           
  9. #                                                                   
  10. #    Copyright ⌐ 1989 Apple Computer, Inc.                            
  11. #    All rights reserved.                                            
  12. #                                                                    
  13. #    Versions:                                                            
  14. #            1.00                     10/89                            
  15. #                                                                   
  16. #    Components:                                                        
  17. #            ScreenFKEY.p            October 1, 1989                     
  18. #            ScreenFKEY.a              October 1, 1989                     
  19. #            ScreenFKEY.make          October 1, 1989                    
  20. #                                                                   
  21. #    ScreenFKEY is a basic example on how to spool a PICT file to disk by replacing the 
  22. #    bottleneck PutPICProc, it saves the contents of the screen to a file. The FKEY creates 
  23. #    ten files Screen 0 through Screen 9; it is necessary to erase or rename old files when 
  24. #    the limit is reached. 
  25. #    
  26. #    This FKEY works in any Macintosh computer and saves the screen regardless of the 
  27. #    setting of the screen; to use, it has to be added to the System file using ResEdit.
  28. #                                                                   
  29. ##############################################################################################
  30.  
  31. ScreenFKEY.a.o ─ ScreenFkey.make ScreenFKEY.a
  32.      Asm  ScreenFKEY.a
  33. ScreenFKEY.p.o ─ ScreenFkey.make ScreenFKEY.p
  34.      Pascal  ScreenFKEY.p
  35.  
  36. SOURCES = ScreenFKEY.a ScreenFKEY.p
  37. OBJECTS = ScreenFKEY.a.o ScreenFKEY.p.o
  38.  
  39. ScreenFkey ─ ScreenFkey.make {OBJECTS}
  40.     Link -w -t 'FKEY' -c '????' -rt FKEY=6 -m FKEY6 -sg ScreenFKEY ╢
  41.         {OBJECTS} ╢
  42.         "{Libraries}"Runtime.o ╢
  43.         "{Libraries}"Interface.o ╢
  44.         "{PLibraries}"PasLib.o ╢
  45.         "{PLibraries}"SANELib.o ╢
  46.         -o ScreenFkey
  47.