Pixelmeasure: Photoshop script for adding pixel measurements to your mockups

If you have ever done site mockups in Photoshop and needed to mark these with pixel measurements you know what an incredibly tedious task this can be. I went looking for a script that would help you automatize this process. Surprised to not find one, I decided to write one myself.