TechLifeForum
Screenshot Utility with Auto Upload - Printable Version

+- TechLifeForum (http://tech.reboot.pro)
+-- Forum: Programming and Development (http://tech.reboot.pro/forumdisplay.php?fid=15)
+--- Forum: .Net Framework Programming (http://tech.reboot.pro/forumdisplay.php?fid=17)
+--- Thread: Screenshot Utility with Auto Upload (/showthread.php?tid=4333)

Pages: 1 2


Screenshot Utility with Auto Upload - KoBE - 01-15-2014

Hey guys,

I decided today that I was going to build a Screenshot utility. You can have it save the image as a PNG or JPG. You can also have it upload to my image hosting service ( http://pngb.in ). Right now, when you open the application it will display a form with three options (minimize to tray, capture screen, exit). If you select minimize or capture it will send the application to the system tray and allow you to select an area of the screen to screenshot.

It then previews the image and allows you the option to save, upload, or close. Any time that the screenshot utility is running (either minimized to the tray or open on the first screen) you can use the keyboard shortcut (ALT+SHIFT+S). This allows you to quickly take a screenshot without having press PrintScreen and open paint, etc...

Here are some screenshots of the application:
[attachment=353][attachment=354][attachment=355]

Github:
https://github.com/cshivers/ScreenCapture/

Please note that in order to run this you will need .Net 4.5 installed on your system. I was lazy and used the await keyword when uploading the image. If enough people are interested I will rewrite the code for lower .Net versions.


RE: Screenshot Utility with Auto Upload - Lee Stevens - 01-15-2014

Nice KoBE, everyone uses Gadwin printscreen at work - i still use inbuilt windows Snipping Tool haha.

I like the fact it uploads to a hosting service!


RE: Screenshot Utility with Auto Upload - Louis - 01-15-2014

(01-15-2014, 07:25 PM)Lee Stevens Wrote:  Nice KoBE, everyone uses Gadwin printscreen at work - i still use inbuilt windows Snipping Tool haha.

I like the fact it uploads to a hosting service!

Yea, the hosting service feature is awesome. That host is fantastic, where did you ever find it!? Whistle


RE: Screenshot Utility with Auto Upload - KoBE - 01-15-2014

(01-15-2014, 07:25 PM)Lee Stevens Wrote:  I like the fact it uploads to a hosting service!

Yeah, I think that's the handiest part. I'm thinking of implementing some shell menu options as well, so you can right-click on an image and have the option to upload as well. Do you have a favorite host that you use to upload to? I can look at adding that as an option.

(01-15-2014, 08:56 PM)Louis Wrote:  Yea, the hosting service feature is awesome. That host is fantastic, where did you ever find it!? Whistle

Some weirdo that hangs out in the IRC all day has nothing better to do than to write neat software all day.


RE: Screenshot Utility with Auto Upload - Lee Stevens - 01-16-2014

Haha, i don't. I normally use what ever turns up in Google first. I can't open the source with my version on VS :(.


RE: Screenshot Utility with Auto Upload - KoBE - 01-16-2014

Ah, yeah I made it in VS 2012. You could 'Add Existing Files'. The only source you'd have to change is frmUpload since it uses the await keyword.


RE: Screenshot Utility with Auto Upload - Louis - 01-17-2014

I don't know... I should probably add image uploading stuff to the API... I've just not really cared about doing anything for thepb! What do you think?


RE: Screenshot Utility with Auto Upload - KoBE - 01-17-2014

Eh, it would make things easier. At least with an API you could keep track of usage.


RE: Screenshot Utility with Auto Upload - AceInfinity - 01-18-2014

Nothing bad about using await, it's laziness not to use the latest .NET framework as a standard Laugh. I think in all honesty though 4.5 brings a lot of great things. If you can install it, you should. Seems like you've been busy though (with new projects like this)... I've been getting into Objective-C lately.

I think an API for statistics retrieval would be nice though. :)


RE: Screenshot Utility with Auto Upload - KoBE - 03-10-2014

So, I've updated this to work with a new site. http://pngb.in is my new domain that I figured I'd use to host temp images from now on. At least this way I'll have full control over the images. I plan on setting up hot keys for the app in the future for even quicker screen shots.