Hello There, Guest!
View New Posts  |  View Today's Posts
[Source] Screenshot Utility with Auto Upload

  • 0 Vote(s) - 0 Average


01-15-2014, 05:15 PM #1
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

Screenshot Utility with Auto Upload
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:
           

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.


Attached Files
.rar   ScreenCapture.rar (Size: 118.85 KB / Downloads: 97)
This post was last modified: 08-28-2014, 12:52 AM by KoBE.

01-15-2014, 07:25 PM #2
Lee Stevens
Senior Member
***
Posts: 345 Threads:54 Joined: Feb 2012 Reputation: 12

RE: Screenshot Utility with Auto Upload
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!

01-15-2014, 08:56 PM #3
Louis
Master of the IRCs!
**
Posts: 153 Threads:23 Joined: May 2012 Reputation: 11

RE: Screenshot Utility with Auto Upload
(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

01-15-2014, 10:40 PM #4
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Screenshot Utility with Auto Upload
(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.

01-16-2014, 12:00 AM #5
Lee Stevens
Senior Member
***
Posts: 345 Threads:54 Joined: Feb 2012 Reputation: 12

RE: Screenshot Utility with Auto Upload
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 :(.

01-16-2014, 12:15 AM #6
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Screenshot Utility with Auto Upload
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.

01-17-2014, 01:16 PM #7
Louis
Master of the IRCs!
**
Posts: 153 Threads:23 Joined: May 2012 Reputation: 11

RE: Screenshot Utility with Auto Upload
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?

01-17-2014, 02:37 PM #8
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Screenshot Utility with Auto Upload
Eh, it would make things easier. At least with an API you could keep track of usage.

01-18-2014, 12:03 AM #9
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: Screenshot Utility with Auto Upload
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. :)
This post was last modified: 01-18-2014, 12:03 AM by AceInfinity.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

03-10-2014, 03:00 AM #10
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: Screenshot Utility with Auto Upload
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.




Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
   MyBB Login Utility - Login to most MyBB websites KoBE 45 35,705 04-12-2016, 01:32 AM
Last Post: AceInfinity
  Lync 2010 Auto Responder KoBE 1 1,861 06-08-2015, 10:49 AM
Last Post: KoBE
   C# Upload File (Async) to PHP endpoint (PHP code included) KoBE 3 6,808 05-01-2014, 01:11 PM
Last Post: KoBE
   [Tutorial]Auto Update Tutorial for VB.Net Gemster 8 18,636 02-08-2014, 04:34 AM
Last Post: assasaha
   DateTimePicker Auto Update? Lee Stevens 4 2,996 01-17-2014, 10:58 AM
Last Post: Miklo


Users browsing this thread: 1 Guest(s)