Introduction
Screen Shot has been created with Visual Basic .NET 2005 and since then has been upgraded to Visual Basic .NET 2008. The application is user friendly and easy to use. It allows users to capture still images from the screen and save them into a user predefined folder. I find it very useful with some music visualizations when I need to take screenshots.
Screen Shot Feature List
- Full screen image capture (all monitors)
- Object capture. The object can be a window, control, Windows shortcut menu, etc.
- Rectangle-area image capture from the screen
- Full web page image capture
- Clipboard image capture
- Active window image capture (with a hot key)
- User defined application hot keys
- All these captured images are (automatically or manually) saved into a user defined folder or clipboard
- All the capture methods mentioned above will capture transparent images from the screen
- JPG image quality setting
- Can save images in many image formats
- Can capture a screen image with the cursor included (optional)
- Easy menu access (optional)
- Plays sound when an image is captured (optional)
- Automatically notifies for application updates (optional)
- Starts automatically when the system starts (optional)
- Help (help file)
Screen Shot Main Menu
The main menu has five buttons, which I will explain in the order shown below. The menu is located on the top-center of the screen, and hides itself when it loses mouse focus.
|
Capture Mode |
The first button is the Capture Mode button. In Screen Shot, to capture an image, the capture mode should be set first. The button is a split-dropdown button that has the following items:
As you can guess from the above picture, the first dropdown item sets the "Full Screen" capture mode, the second sets the "Object" capture mode, and the third one sets the "Rectangle" area capture mode.
The fourth menu item is not for setting the capture mode, but for capturing the clipboard image. After selecting the desired capture mode, you will notice that the "Mode" button's image is changed to the menu item's image that was selected, indicating the current capture mode. See Screen Shot help for detailed instructions of how to set the capture mode or capture an image from the screen.
|
The "Full Screen" dropdown menu item will set the capture mode to Full Screen by changing the "Mode" button's image. Clicking the "Mode" button once more will capture the image of the full screen (all monitors in one image) or you could use the "Capture Mode" hot key.
|
|
The "Object" dropdown menu item will set the capture mode to Object by changing the "Mode" button's image. Clicking the "Mode" button once more will start the capture of an object on the screen. The object can be a window, controls, the Desktop, shortcut menus, etc. When you capture the object and point the mouse to an object, you will see a red rectangle that is drawn around the object. You can capture the object within the red rectangle by simply clicking anywhere inside the red rectangle, or you could use the "Capture Mode" hot key.
|
|
The "Rectangle" dropdown menu item will set the capture mode to Rectangle by changing the "Mode" button's image. Clicking the "Mode" button once more will place the rectangle and the "Tool Box" forms on the screen.
|
|
The last dropdown menu item is for capturing clipboard images. If the "Clipboard" menu item is enabled, clicking on it will get the clipboard image so that the user can save it into a file. Note that the clipboard should contain an actual image, not a path.
|
|
Image Folder |
The second button is the "Image Folder" button that opens the Screen Shot image folder in Windows Explorer.
|
Exit |
The third button is the "Exit" button that will exit the application.
|
Options |
The fourth button opens the application's "Options" window. In here, you can set or create the image folder, whether you want to access the menu instantly by hovering the mouse at the top edge of the screen, specify if the capturing sound should be played when an image is captured, specify if the Screen Shot application should start when the system starts, specify the captured image file settings and properties, and finally, define the application hot keys, and many more.
|
Help |
The fifth button is the "Help" dropdown button.
Background
The application is rewritten in VB.NET 2008, and uses some API functions to implement the still image captures. All of the capture methods use application-defined methods to capture images. For example, if you press the "Print Screen" keyboard key, Windows will capture the desktop image and place it on the clipboard, by default. However, when using this application, it will change this behavior and capture and save the image directly to the image folder. This also means that you will be able to capture transparent windows on the desktop, whereas Windows' default capture doesn't capture transparent windows as transparent.
Since this is an application and it is a big project that uses many of my own components and classes, I can't go into details. This project is an assembly of different classes that I made over a period of time. For example, it uses the Shape class to make the menu form's corners rounded, and another one of my components, WindowsHookLib, that hooks the mouse to help capture an object image. Of course I needed to provide some hot key support for the application, for this I used one of my other classes Hotkeys class which provides a complete hot key solution. As you can see, the project is huge, so I decided to include all the relevant source files in case of need. The most important class that allows capturing images is SCapture. This class is the base of this application, and you can find it in the source files. Almost all the classes are commented, so they should be self-explanatory.
System Requirements
- Windows 98/2000/XP/Vista/Windows 7
- Framework 3.5 SP1
Screen Shot Information
History
- 30th June, 2007 -- Original version posted
- 16th July, 2007 -- Article and downloads updated (version 3.0.3.0)
- 28th June, 2008 -- Article and downloads updated (version 3.1.2.0)
- 30th July, 2009 -- Article and downloads updated (version 3.1.3.6)
- 23rd Sep, 2010 -- Article and downloads updated (version 3.1.5.2)