我怎麼能讓這個腳本捕獲沒有標題的前景視窗?
https://github.com/npocmaka/batch.scripts/blob/master/hybrids/.net/c/screenCapture.bat
我需要它,這樣我就可以繼續 delphi 項目,而不必更改所有 var 的座標。
我知道這可能是因為我的delphi應用程式上有一個screenshot()函數,讓我可以選擇
GetWindowRect(Win, WinRect);
DC := GetWindowDC(Win);
或者
Windows.GetClientRect(Win, WinRect);
DC := GetDC(Win);
我只是不知道如何在這批中做到這一點。