Search found 6 matches
- 23 May 2022, 19:30
- Forum: Scripts and Functions (v2)
- Topic: ScreenBuffer - DirectX screen capture
- Replies: 25
- Views: 6751
Re: ScreenBuffer - DirectX screen capture
It works out! Thank you very much for your help! setbatchlines -1 ; Load GDI+ DllCall("LoadLibrary", "str", "gdiplus") VarSetCapacity(si, A_PtrSize = 8 ? 24 : 16, 0) ; sizeof(GdiplusStartupInput) = 16, 24 NumPut(0x1, si, "uint") DllCall("gdiplus\GdiplusStartup", "ptr*", pToken:=0, "ptr", &si, "ptr",...
- 23 May 2022, 18:14
- Forum: Scripts and Functions (v2)
- Topic: ScreenBuffer - DirectX screen capture
- Replies: 25
- Views: 6751
Re: ScreenBuffer - DirectX screen capture
Hey, thanks for all your help but I'm facing another problem and I hope you want to help me one last time. I don't understand how to create the "ID3D11DeviceContext::GenerateMips" function. Without this I get the screenshot saved but only half of the actual screen. setbatchlines -1 ; Load GDI+ DllCa...
- 20 May 2022, 18:22
- Forum: Scripts and Functions (v2)
- Topic: ScreenBuffer - DirectX screen capture
- Replies: 25
- Views: 6751
Re: ScreenBuffer - DirectX screen capture
Thanks for your help :thumbup: . Sorry for the late answer but i try since 3 Days to do it by myself. But i think im complitly on the wrong way. This is what i have. setbatchlines -1 ; Load GDI+ DllCall("LoadLibrary", "str", "gdiplus") VarSetCapacity(si, A_PtrSize = 8 ? 24 : 16, 0) ; sizeof(GdiplusS...
- 16 May 2022, 03:33
- Forum: Scripts and Functions (v2)
- Topic: ScreenBuffer - DirectX screen capture
- Replies: 25
- Views: 6751
Re: ScreenBuffer - DirectX screen capture
malcev Thanks for the nice code, but is there any solution to resize the texture/image before saving it? I know how it works with "Gdip_DrawImage" or "StretchBlt" but I would appreciate a D3D11 solution. setbatchlines -1 ; Load GDI+ DllCall("LoadLibrary", "str", "gdiplus") VarSetCapacity(si, A_PtrS...
- 05 Jul 2020, 09:26
- Forum: Scripts and Functions (v1)
- Topic: hWnd_to_hBmp() : Capture full screen, Window, Control or user defined area of these
- Replies: 23
- Views: 9612
Re: hWnd_to_hBmp() : Capture full screen, Window, Control or user defined area of these
I thank you it worked.
MFG
Turisas.
MFG
Turisas.
- 04 Jul 2020, 15:27
- Forum: Scripts and Functions (v1)
- Topic: hWnd_to_hBmp() : Capture full screen, Window, Control or user defined area of these
- Replies: 23
- Views: 9612
Re: hWnd_to_hBmp() : Capture full screen, Window, Control or user defined area of these
Does this function support that the cursor is also drawn?
Thanks for your help
MFG
Turisas
Thanks for your help
MFG
Turisas