3

I do a lot of screen print capturing, and I have just figured out how to use AutoHotKey to paste screen prints into MsPaint automatically.

How to paste Print Screen on MS Paint automatically when press "PrtSc" button?

However, one small problem I have is that ... if I grabbed a screen with Alt-Prt Scr that is only 50x50 pixels, then there would be extra white margin around it, because MSPaint starts out with a larger canvas by default. How can I make it ALWAYS start with 1x1 instead?

Fantomas
  • 389

1 Answers1

3

Modify the script slightly to auto-crop the image.

; print screen pastes into MS-Paint
~Printscreen::
!~Printscreen::
Run Mspaint
WinActivate, Untitled - Paint
WinWaitActive, Untitled - Paint
{
   Send ^v
   Send ^+x
}

(so now it pastes the image, and then crops it)

mpeterson
  • 551