#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就可以了
