plain-heart
#include <ScreenCapture.au3>
RunWait("C:\Windows\System32\mstsc.exe")
Local $hwnd = WinWait("远程桌面连接","", 10)
$hwnd = WinGetHandle("[active]")
ConsoleWrite($hwnd)
_ScreenCapture_CaptureWnd(@MyDocumentsDir & "\TestGDI_Image.jpg", $hwnd)

  有需求要实现alt+printscreen窗口截图, 但是C#开发很麻烦, 于是想到autoit3, 很强大, 可以实现该功能, 然后用C#调用exe就可以了

分类:

技术点:

相关文章:

  • 2018-08-23
  • 2021-10-06
  • 2022-01-26
  • 2021-05-27
  • 2021-09-23
  • 2022-01-21
  • 2021-05-13
  • 2022-02-10
猜你喜欢
  • 2021-10-16
  • 2021-10-26
  • 2021-11-13
  • 2021-08-31
  • 2021-12-11
  • 2022-12-23
相关资源
相似解决方案