DonationCoder.com Software > Screenshot Captor
how do I capture the current window (not full screen)
(1/1)
jcollum:
Read over the docs and I'm not seeing how to capture the active window only. Tried a few things (-setfore, -client) and still it's not working.
"c:\Program Files\MiniCap\minicap.exe" -save "c:\temp\screenshots\capture_$customdate$_$appname$.png" -customdate "$Y$m$d_$H$M$S" -sleep 2 -closeapp -exit -client
I see options for capturing the screen and the whole desktop. Seems that not turning on either of those, it'd default to just the active window. But when I run that command (with or without -client) it never captures, it just doesn't do anything (update: it starts the redbox mode, but that gets hidden by the window).
I did manage to get what I want by using -captureregselect but I'd ideally like to write a bat file that just dumps the current active app to a screenshot after a delay.
mouser:
Have you tried
-captureactivewin
jcollum:
That did it. It's not in your docs tho: https://www.donationcoder.com/Software/Mouser/MiniCap/index.html
mouser:
i reallly have to update that page; if you actually read the HELP file online you will find tons more options.
https://www.donationcoder.com/Software/Mouser/MiniCap/help/index.html
Navigation
[0] Message Index
Go to full version