15

I've got a MacBookPro (no external keyboard, just the built-in laptop keyboard) and I'm running Virtual Box. My virtual machine is Windows XP and I'd like to capture an image of a window (or the whole screen if that's easier). It's not obvious to me how to express Alt-PrtScr` to the Windows XP VM with my MacBook Pro keyboard. I have Virtual Box Guest Additions installed.

Greg Mattes
  • 3,502

6 Answers6

17

Virtualbox has a capture functionality.

Use the menu Machine -> Take screenshot

Or the shortcut Cmd+e

4


Some versions of VirtualBox don't have the menu for taking a screenshot but the combination of shortkeys will work. Try Command key and E together and a menu will pop to get the name and address for saving the screenshot file.

Hope it helps.

3

How To Take Screenshot of Mouse Dependant Bugs in Windows 7 on a Mac Running Virtual Box:

  1. On your Mac, go to the Apple symbol in the upper left corner.
  2. Drop down to System Preferences.
  3. Go to Keyboard in the Keyboard tab.
  4. Check “Use all F1, F2, etc. keys as standard function keys.”
  5. Go to your Windows 7 VB window.
  6. MouseOver the bug that only occurs when you are mousing over.
  7. Hit control-F13. This copies a screenshot to the clipboard in Windows 7.
  8. Go to the Start button and search for Paint. Open Paint.
  9. Hit control-v to paste the copy of the screenshot into paint. Maximize the Paint window.
  10. Get back into the Mac environment.
  11. Hit command-shift-4-space and position the camera over the window with Paint and click the left mouse button to take a screenshot of this window which will appear on your Mac desktop.
  12. Remove the Paint interface from the screenshot by using command-shift-4 and selecting the area of the screenshot that you want to keep.

Note: you may want to go back into your keyboard settings and uncheck that box so that your function keys work normally again.

Burgi
  • 6,768
cvoigt
  • 31
2

shift+command+3 will work if you have escaped your VirtualBox and places the screen shot on your Mac's desktop. You could also use or shift+command+4 which gives you a cross-hair to select the area you want to capture.

ricbax
  • 5,118
2

There is a tool that you could use called the Snipping Tool that comes with Windows 7:

Snipping Tool captures a screen shot of anything on your desktop, like a picture or a section of webpage. Snip a whole window, a rectangular section of the screen, or draw a freehand outline with your mouse or tablet pen (or your finger, if you're using a PC with a touchscreen). Then you can annotate, save, or e-mail the image using buttons right in the Snipping Tool window. Snipping Tool is available only in the Home Premium, Professional, Ultimate, and Enterprise editions of Windows 7.

It is designed for screen capture when your computer does not have the print screen button.

Diogo
  • 30,792
monn3t
  • 129
  • 3
0

Just remembered that I have GIMP installed on the XP VM. The screen shot dialog is at:

File -> Create -> Screen shot...

This isn't really what I wanted, but it gets the job done. Ideally, I'd like a built-in key combination rather than a solution that depends on another piece of software.

Greg Mattes
  • 3,502