[C#] ScreenCapper

Newbie Spellweaver
Joined
Dec 16, 2007
Messages
36
Reaction score
5
[C#] Screen capture / Image upload program

General Info
A program that allows you to take screenshots by pressing 2 hotkeys from your keyboard.
The picture is automatically saved to a folder you have defined so there is no need to do the old "paste to paint or PS and save" stuff (which is why I made this anyway).
Supports 6 differend image formats for now. (.Png, .Jpg, .Bmp, .Gif, .Ico, .Wmf)
Supports image uploading to ImageShack.us and custom FTP server.

~ New in version 0.91 ~
Supports uploading to imageshack and FTP.
Cleaner interface with tabbed options.
A sound is played when ever SS is taken. (Can be turned off)
Fixed loads of stuff.

~ New in version 0.92 ~
Instead of just single files, you can now upload a whole folder full of images to ImageShack.us
Ironed few bugs.
Imporvements to ImageShack Information.txt (the file that holds the information of uploaded images):
-Fixed the image sizes.
-Added few options for the user to customize the way ImageShack Information.txt comes out.

~ New in version 0.93 ~
Taking "cropped images" is now possible. This means that you can limit the area that is taken to the screenshot.
Added few features you can use to customize the cropping window.
Fixed bugs (again).

~ New in version 0.94 ~
There was a bug when taking cropped images -Fixed-
Changed the icon from a copyright game icon to a free one -whisle-
Minor fixes

~ New in version 0.95 ~
Fixed the bug where users would get white images when taking cropped pictures and having something else than .png selected as format.
Added more hotkeys! (Finally.)
Zapped a bug here and there.

~ New in version 0.96 ~
Added automatic upload function.
Added a new form that holds recently uploaded image links if user so wants.
Added manual.txt inside the .rar.

~ New in version 0.97 ~
Fixed a bug with uploading single pictures.
Fixed a bug where cropped image resolution being bigger than the user's screen resolution would result in error.
Completely changed the way global hotkeys are monitored.
-The hotkeys now work with HackShield and X-Trap.
-Changing the hotkeys is tiny bit easier.
Removed useless stuff from the interface.

NOTE: The current global hotkey detection system uses a method similiar to some keyloggers to detect if the right keys were pressed.
This might cause a false alarm in some antivirus programs. If your antivirus software raises an alarm when you launch the application, please let me know.
Atleast Avast seems to be fine with it.
I'm leaving the 0.96 download link to this post in case someone feels paranoid.


~ New in version 0.98 ~
Auto copping feature added. It can be found from Misc. tab.
-You can adjust the auto crop feature to only take certain part of the screen to your SS. (Ex. from 300x & 200y to 600x & 400y)
Recording your desktop to .WMV is now possible. Both audio and video can be recorded. (Requires Windows Media Encoder 9)
Broadcasting your desktop as MMS stream is now possible.
You can now set the program to start when windows starts. (Misc.)
You can make your own audio/video recording/broadcasting profiles with the profile utility that comes with Windows Media Encoder 9. I have included some with the program however.
If you are unsure about something, read the manual. I have tried to include something about every function there.

I suggest you download the new version from this post instead of updating the application with the update function.



Progress
Suggestions on what to add / improve are welcome.
Next in line: Fixing and improving FTP upload.
Adding more process info to both, FTP and ImageShack upload.

Updating
You can update the program by clicking the "Check for updates" button from options.

Download
Updated 11.17.09:
Download SSG 0.96 Beta
Download SSG 0.97 Beta
Download SSG 0.98 Beta
Requires NET. Framework 3.5 and Windows XP, Vista or 7 to work.
Video recording requires Windows Media Encoder 9 (32bit)

Images
Splitter - [C#] ScreenCapper - RaGEZONE Forums
-Updated-
Splitter - [C#] ScreenCapper - RaGEZONE Forums

Splitter - [C#] ScreenCapper - RaGEZONE Forums

Splitter - [C#] ScreenCapper - RaGEZONE Forums

Splitter - [C#] ScreenCapper - RaGEZONE Forums
-Updated-
Splitter - [C#] ScreenCapper - RaGEZONE Forums
-New-
Online virus scan results
-----------------------------------------------------------------------------------------------------------------------------

Not a virus.
Thanks for taking interest and I hope some of you find this useful.

EDIT: Yes, I didn't change the program name so it's still as lame as ever.
 
Last edited:
good job bud. Umm a lamer program name? uhh SCaptureX

btw mind telling me how u did the alt + c shortcut? it would be highly appreciated.

Thanks.
Well the "I challenge you to come up with a lamer program name" was a little misleading as I never told my program's name in the first post. It's ScreenShot Galaxy. There you have it. Now good luck =)


PS. I sent you a PM with the code to the global hotkey part.
 
Thanks.
Well the "I challenge you to come up with a lamer program name" was a little misleading as I never told my program's name in the first post. It's ScreenShot Galaxy. There you have it. Now good luck =)


PS. I sent you a PM with the code to the global hotkey part.

lol thanks a lot. I think it could be GalaxySCaptX
 
Wow, nice, it looks pretty dope, and nice feature additions :P
Hehe, still hanging out on these forums I see :D:


~ New in version 0.95 ~
Fixed the bug where users would get white images when taking cropped pictures and having something else than .png selected as format.
Added more hotkeys! (Finally.)
Zapped a bug here and there.

First post updated with download link.
 
I've been looking for something similar, though, all I want it to do is to be able to either automatically upload the picture to the internet via http(making it connected with php upload script) and return uploaded link or just save to a folder, nothing more, nothing less.
 
I've been looking for something similar, though, all I want it to do is to be able to either automatically upload the picture to the internet via http(making it connected with php upload script) and return uploaded link or just save to a folder, nothing more, nothing less.

The program uses .NET's Http classes to upload to IS atm.
You would want the program to have an option to automatically upload every image that is taken without having to go to upload tab and selecting the files OR do you want it to run an external php script (there could basically be anything coded to that .php file) every time a screenshot is taken?

The upload information is saved to Application folder \ ImageShack Info.txt that will be created after you upload an image.
 
yep I basically want it to either automatically upload it after taking the screen and after the upload is done to pop up the image's url or just save to a folder or both at once, I want to be able to choose between those three. That would be best, the other stuff is just useless :p
 
yep I basically want it to either automatically upload it after taking the screen and after the upload is done to pop up the image's url or just save to a folder or both at once, I want to be able to choose between those three. That would be best, the other stuff is just useless :p

Check out version 0.96. Hopefully I got somewhere near what you wanted.
Totally running out of ideas with this app. so suggestions like that are welcome. =)

I had to change pretty much stuff around and got hit pretty hard by the debugger.
I think I got them all (or most) of them but in case thats not the deal, please report them here.


~ New in version 0.96 ~
Added automatic upload function.
Added a new form that holds recently uploaded image links if user so wants.
Added manual.txt inside the .rar.

Thanks for the inspiration foxx. I might add a feature that uses user made .php scripts to upload images later.

First post updated.
 
New version is out.

~ New in version 0.97 ~
Fixed a bug with uploading single pictures.
Fixed a bug where cropped image resolution being bigger than the user's screen resolution would result in error.
Completely changed the way global hotkeys are monitored.
-The hotkeys now work with HackShield and X-Trap.
-Changing the hotkeys is tiny bit easier.
Removed useless stuff from the interface.

NOTE: The current global hotkey detection system uses a method similiar to some keyloggers to detect if the right keys were pressed.
This might cause a false alarm in some antivirus programs. If your antivirus software raises an alarm when you launch the application, please let me know.
I'm leaving the 0.96 download link to the first post in case someone feels paranoid.

Check the link under the image links for online virus scan results.
Added 0.97 download link to first post.
 
Time for a new update again.

~ New in version 0.98 ~
Auto copping feature added. It can be found from Misc. tab.
-You can adjust the auto crop feature to only take certain part of the screen to your SS. (Ex. from 300x & 200y to 600x & 400y)
Recording your desktop to .WMV is now possible. Both audio and video can be recorded. (Requires Windows Media Encoder 9)
Broadcasting your desktop as MMS stream is now possible.
You can now set the program to start when windows starts. (Misc.)
You can make your own audio/video recording/broadcasting profiles with the profile utility that comes with Windows Media Encoder 9. I have included some with the program however.
If you are unsure about something, read the manual. I have tried to include something about every function there.

I suggest you download the new version from this post instead of updating the application with the update function.


I'll propably update or change the way videos are recorded in some later version. For now you need WME9 (link in the first post) to record or broadcast video/audio.
The url others can see your broadcast at is: mms://yourip:port

As always, new ideas and bug reports are welcome.
Hopefully someone likes the new features (or uses this "thing" at all).
 
bloody hell, thats such a complex program lol, but its awesome, nice one

To be honest the source code is starting to remind me of a bowlful of spaghetti.
Should propably update it to match my current knowledge.

There was a bug in the new cropping feature. Updated the download link.
 
Back