|
-
Sep 23rd, 2002, 12:20 AM
#1
Thread Starter
Hyperactive Member
Screen shot Help
I need to take a Screen Shot every few sec and place it in a specific DIR in any formmat(jpg,gif,bmp) in numeric order(img1,img2,img3) can someone help me with this?
-
Sep 23rd, 2002, 03:14 AM
#2
Fanatic Member
Just are bare outline here, for one way to do this:
Start a loop
Increment counter
Send desktop a PrintScreen key (as if the user had pressed it)
Write contents of the clipboard object to a file named xxx(loopcounter) in the format of your choice
Loop
Clipboard info:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemWindowsFormsClipboardClassTopic.htm
The bulk of the functions for writing JPG and GIF files are documented here:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemdrawingimaging.htm
Good luck!
-
Sep 23rd, 2002, 09:44 AM
#3
Thread Starter
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|