Print Screen Command?

Chipp Walters chipp at chipp.com
Mon Dec 10 14:09:00 EST 2001


Josh,

Not exactly sure what you're asking here. But if what you want to know is
how to print out the screen, here's my 2 cents:

--make a window the size of the screen
set the rect of stack "myWindow" to screenRect()

-hide the window
hide stack "myWindow"
--take a picture of the screen
import snapshot rectangle screenRect()
--print the picture
print this card from 0,0 to the width stack "myWindow",the height of stack
"myWindow"
--delete the picture , don't need it anymore
delete last image of stack "myWindow"
--resize myWindow to something other than the screenrect
set the rect of stack "myWindow" to 100,100,300,300
--now show it
show stack "myWindow"

I haven't tested this, but think it should work. You may have to move the
stack offscreen instead of hiding it. hope this helps,

Chipp



to put a copy of the

-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Josh Dye
Sent: Sunday, December 09, 2001 10:03 AM
To: use-revolution at lists.runrev.com
Subject: Print Screen Command?


Hey,
    Does anybody know if there is any way for on PC, to tell it to Print
Screen? Basically the same thing as the "Print Scrn" button next to Scroll
Lock. What I want it to do is get the screen of another computer and put it
open that .Jpg or whatever on a different computer. Anything would be quite
helpful! :-)


 - Josh Dye

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list