CS112:: GUIs ::: Printing a Mac screen shot

MATLAB does not have a print option in the GUI window, so we'll take a screen shot and print that.

  1. Have your final GUI sketchpad drawing on your screen as the active window
  2. Hold down these three keys together: COMMAND(apple key) + SHIFT + 4
    • Your cursor will change into a crosshair (a big plus sign)
    • Hit the space bar.
    • Your cursor will turn into a camera and your selected window will be highlighted.
    • Click on the mouse. This will take the picture. You will hear a snapshot sound.
  3. Your picture of the active window is saved as a .png file on your Desktop called something like Screen Shot 2018-01-05 at 1.00.26 PM
  4. If you double click on your screenshot, it will open using an application called Preview
  5. From within Preview, you can print your picture by selecting Print from the File menu.
  6. You can also save your picture in Preview in different formats by selecting Export from the File menu and choosing your format there (here is some Preview documentation)
Notes:
  1. If you take more than one picture, they will be numbered by the time stamp when they are taken
  2. If you want just a part of your window (rather than the entire window), at the point when your cursor turns into a crosshair, you can select part of the screen to become your snapshot (rather than hitting the space bar) by using the mouse and selecting from the upper left corner to the lower right (the area will be highlighted). This will take a picture of just part of your screen.