topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 2:00 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: how do I capture the current window (not full screen)  (Read 4554 times)

jcollum

  • Participant
  • Joined in 2011
  • *
  • Posts: 17
    • View Profile
    • Donate to Member
how do I capture the current window (not full screen)
« on: August 16, 2011, 12:49 PM »
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

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: how do I capture the current window (not full screen)
« Reply #1 on: August 16, 2011, 04:08 PM »
Have you tried
-captureactivewin

jcollum

  • Participant
  • Joined in 2011
  • *
  • Posts: 17
    • View Profile
    • Donate to Member
Re: how do I capture the current window (not full screen)
« Reply #2 on: August 16, 2011, 04:12 PM »
That did it. It's not in your docs tho: https://www.donation...r/MiniCap/index.html

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: how do I capture the current window (not full screen)
« Reply #3 on: August 16, 2011, 04:28 PM »
i reallly have to update that page; if you actually read the HELP file online you will find tons more options.

https://www.donation...iCap/help/index.html