RA Finch
2006-04-24 18:34:01 UTC
I need to copy the screen to the clipboard but haven't had any luck.
According to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformssendkeysclasstopic.asp
I should be able to use SendKeys "{PRTSC}", but it doesn't seem to work.
"{SCROLLLOCK}" and "{NUMLOCK}" function correctly.
Dim WshShell
set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep 100
WshShell.SendKeys "{PRTSC}"
Thanks.
According to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformssendkeysclasstopic.asp
I should be able to use SendKeys "{PRTSC}", but it doesn't seem to work.
"{SCROLLLOCK}" and "{NUMLOCK}" function correctly.
Dim WshShell
set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep 100
WshShell.SendKeys "{PRTSC}"
Thanks.