-
Is it possible.....
I wish to make a program that takes a screen shot every 20-30 seconds and save the file in a certian directory constantly replacing the last screen shot.
This is meant as a test for a web page where each time the person loads my screen shot it will be in real time and show what I am doing.
I know this has been done quite easily in scripting but I was wondering if somene can give me some hints for c or c++, to take a screen shot from the console is import command but I need to still heck that out.
-
Registered User
a simple hack would be like
try import
in your program try this
system("import window /filename.png");
or exec see the manual for more
cheers
-
just another questions those screenshots are *.bmp correct? so how are you going to make them smaller and into *.jpg?
my screenshiots on this box are huge! 2.5 mb bitmaps!
-
Registered User
it's .png not .bmp it's quite smaller and moreover rtfm for more options
cheers
Rohit
Popular pages
Recent additions