首页 > 代码库 > vbs 截图

vbs 截图

  1. ‘VBS截屏.vbs
  2. ‘  Win7x64 测试通过(已安装Word2007):
  3. ‘参考:
  4. ‘  http://qtp.blogspot.com/2010/02/screenshot-vbscript.html
  5. ‘  http://www.fixitscripts.com/problems/take-screenshot-of-current-user-s-session
  6. With CreateObject("Word.Basic")
  7.   .Sendkeys "{prtsc}"
  8.   .FileQuit ‘.AppClose
  9. End With
  10. Msgbox "已将屏幕截取到剪贴板。", vbSystemModal+vbInformation, WScript.ScriptName

vbs 截图