Click here to Skip to main content
Click here to Skip to main content

Zeta Twitpic

, 20 Feb 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
Small tool to monitor the clipboard for images and upload them to Twitpic

Introduction

This article introduces a small tool that sits in your system tray as an icon and monitors the clipboard for images.

If an image is detected, the application pops up and allows you to upload the picture to twitpic.com with your Twitter credentials and post the URL to Twitter. In addition the URL of the uploaded image is being copied to your clipboard, so that you can easily e.g. send the URL by e-mail or use otherwise.

If you don't know Twitter, you may look at their website Twitter.com or read the Wikipedia article about Twitter.

Background

I got the idea to write this tool from the need to sometimes put screenshots to Twitter/Twitpic.

The usual process was to copy an image to the clipboard, fire up Paint.NET, paste the image into Paint.NET, save the image to a file, then go to the Twitpic website, upload my image and post the URL to Twitter.

This requires too many steps in my opinion, so I created this tiny little application in a few hours on a boring Saturday morning.

Technical Implementation

Since it is rather easy to use the Twitpic API, the tool contains rather few sophisticated code, too.

Basically it is just a small Windows Forms application that contains a clipboard chain viewer and a method to HTTP-post an image to an URL. That's really all.

The clipboard viewer was inspired by this article, the Twitpic upload code was taken and adjusted from this posting.

Image: Zeta Twitpic while uploading an image to the Twitpic servers.

Current State of the Tool

The Zeta Twitpic tool was a quickly assembled tool that perfectly fit my needs. Probably it does not fit yours completely.

Therefore you have at least two options:

  1. Download the source code and enhance it the way you want it.
  2. Tell me (down here in the comments section) which features are missing that I should add.

Of course option 2 would be helpful to me when enhancing.

As usual, I will enhance, extend and correct the tool over the next weeks and months. Keep the feedback coming!

History

  • 2010-02-20 Uploaded first version to CodeProject.com

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Uwe Keim
Chief Technology Officer Zeta Producer Desktop CMS
Germany Germany
Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He has also teached programming to students at the local university.
 
In his free time, he does climbing, running and mountain biking. Recently he became a father of a cute boy.
 
Some cool, free software from us:
 
German Developer Community  
Free Test Management Software - Intuitive, competitive, Test Plans. Download now!  
Homepage erstellen - Intuitive, very easy to use. Download now!  
Send large Files online for free by Email
Offline-Homepage-Baukasten
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
GeneralSuggested Feature Pinmembersam.hill20-Feb-10 6:50 
GeneralRe: Suggested Feature PinmvpUwe Keim20-Feb-10 6:55 
GeneralRe: Suggested Feature Pinmembersam.hill20-Feb-10 14:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150327.1 | Last Updated 20 Feb 2010
Article Copyright 2010 by Uwe Keim
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid