On Jun 5, 4:55 am, Joe Duchtel <duch...@gmail.comwrote:
Hello -
I would like to create an application that starts up upon login (e.g.
Startup folder) and then waits for the Alt+Print Screen button to be
pushed. I still want this button to put a screenshot onto the
clipboard but I also want to execute some other code I wrote to
automatically save this *.bmp as a (smaller) *.png. Currently, I take
a screenshot and then run the executable to do that.
Any suggestions?
Thanks!
Joe
Hi Joe,
After putting your application to startup folder, you need to listen
keypress even if your application is not active. This article is
extremely helpful for that purpose:
http://www.dotnet2themax.com/ShowCon...0-c2bb7075ba78
Note: Don't forget to import "System.Runtime.InteropServices"
Finally, use a screen capturing class to accomplish your goal, there
are more than one classes on the net.
http://www.google.com/search?hl=en&q...ss&btnG=Search
Hope this helps,
Onur Güzel