I was bored yesterday and haven’t had the time to write much code recently, the result is Fogshot – a FogBugz plugin for Greenshot. Greenshot is an awesome screenshot tool which allows you to annotate, highlight and obfuscate your screenshots. It’s open source and free.

From what I can tell, the latest builds of Greenshot don’t seem to stem from code in the live SVN repo for the project. With no documentation on how to develop a plugin I relied heavily on ILSpy to get the job done. In addition, I used Fiddler to reverse engineer how FogCreek’s screen capture utility uploads screenshots to new and existing cases. FUN!

Configuration

There is a configuration screen for your FogBugz account settings which you can get to by clicking Edit > Preferences > Plugins. Don’t stress, your password is encrypted in the Greenshot INI file. The screen looks like this:

2w24ae4c.odo

Take a screenshot (hit PrintScreen):

wbr4agla.fmy

Click File > Upload to FogBugz:

kkbwb20g.nt2

Choose whether to generate a new case or attach to an existing case:

f0uzozlf.ihm

Manage the case in FogBugz!

amtrwt51.usd

And that’s all there is to it. I’ve uploaded the source code to GitHub (https://github.com/Rohland/Fogshot) if you’re interested in adding new functionality or developing your own Greenshot plugin.

You can grab the latest version to install from here: https://github.com/Rohland/Fogshot/downloads. To install, simply extract the archive into your Greenshot installation directory.

Caution:

I’ve only tested this plugin with the following versions of Greenshot

  • Greenshot-INSTALLER-UNSTABLE-0.8.1.1486.exe
  • Greenshot-RC7-INSTALLER-0.8.1.1427.exe

Which you can grab from here: http://getgreenshot.org/version-history/

Hope this is useful.


2 Responses

  1. Omer Raviv says:

    Hi, this works great on the versions of Greenshot you mentioned, thanks a lot! This is extremely useful!

    Any chance of you updating it to also work on the latest version of Greenshot? That doesn’t seem to work for me.

  2. Greg Umstead says:

    Doesn’t seem to work on GreenShot 1.1.5. Any plans to update?

Leave a Reply