There are a couple of programs that will do that for you. If you're interested in eventually buying some software, then Camtasia is a great one. They also have a free full featured trial period. BB Flashback Express is a free program that will also do the job well. I have Jing which is also free, and allows screen capture, as well as the option to record a 5 minute video.