Computer Science Canada

Print Screen?

Author:  LaZ3R [ Mon Jul 30, 2007 5:28 pm ]
Post subject:  Print Screen?

Any possible way I can make turing use the print screen button so it copies the picture of the entire screen a user is looking at while the program is running? I've tried a few different ways but none are working. Any ideas or helpful suggestions would be appriciated Smile.

Author:  Dan [ Mon Jul 30, 2007 5:55 pm ]
Post subject:  RE:Print Screen?

Turing can only take a picture of it's own screen. It is imposable to make turing take a picture of the hole screen with out taping in to 3rd party programs or langues.

Author:  LaZ3R [ Mon Jul 30, 2007 5:59 pm ]
Post subject:  RE:Print Screen?

I thought so Razz, Any idea on how I could go on about "taping into 3rd party programs of languages" by using turing at the same time?

Author:  Dan [ Mon Jul 30, 2007 7:08 pm ]
Post subject:  RE:Print Screen?

Well you just need a program that takes a pic of the screen and saves it as a file when ran and then call it threw the turing system comands (Sys.Exec).

You could either find a program that allready dose this or make your own in a program langue that has access to the nessray API to do it.

Then to use it in turing you just load the file.

Author:  Nick [ Wed Aug 15, 2007 5:18 am ]
Post subject:  RE:Print Screen?

well another way to do this is to manually take a screen shot isong the print screen button (norammly located above the insert button)
then opening MS paint (yes paint) and pasting the image onto the paint and saving it as u want...
however i dont think u could use turing to automatically do this

Author:  Nick [ Wed Aug 15, 2007 5:30 am ]
Post subject:  RE:Print Screen?

sorry for the double post but u could use:
var screenShot:int:=Pic.New(0,0,maxx,maxy)
Pic.Save (screenShot,"filename.bmp")

Author:  Aziz [ Wed Aug 15, 2007 7:55 am ]
Post subject:  RE:Print Screen?

You could've "edited" your post. It was near enough to your last one that I don't think anyone would have missed it.

Anyways, that'll only take a "screenshot" of Turing's window (not including the borders, buttons, etc, just inside the draw window). I believe he wants something similar to print screen. Try AviScreen classic, it takes pics and videos: http://www.bobyte.com/AviScreen/index.asp

Don't know if it can be run from command line, though. Has to be installed so :S


: