topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday April 23, 2024, 3:21 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - huancoi [ switch to compact view ]

Pages: [1]
1
I have added the commandline option "-capturemon #" to minicap, it will be in next upload.
To ease the use of this new feature I wrote a CMD script to capture multiple monitors to multiple files, as close in time as possible:
(only used PowerShell code highlighter for readability)
Change any settings to your likings, can be fired from a AHK hotkey script, optional parameter: nr. of monitors to capture sequentially, defaults to 2
Code: PowerShell [Select]
  1. @echo off
  2. :: MultiMonitorShot.cmd: Grab multiple monitors screenshots to separate files
  3. :: Usage: MultiMonitorShot [monitors]
  4. :: Monitors defaults to 2
  5. :: Settings:
  6. :: Number of monitors to capture, override with 1st argument to script
  7. set SSCOUNT=2
  8. if not "%1" == "" set SSCOUNT=%1
  9. :: Screenshot storage path, including a trailing \ when not empty
  10. set SSPATH=
  11. :: Filename and monitor prefixes
  12. set SSPREFIX=screenshot
  13. set SSMONPREFIX=monitor
  14. :: Extension, not including the period
  15. set SSFILETYPE=png
  16. :: Set date format using variables as in https://www.donationcoder.com/software/mouser/popular-apps/minicap#commandline-options
  17. :: Initially set to YYYY-mm-DD-HH-MM-SS
  18. set SSDATE=$dt:%%Y-%%m-%%d-%%H-%%M-%%S$
  19. :: Aditional MiniCap options can be specified here
  20. set MCOPTIONS=
  21. :: Path to MiniCap.exe, include trailing \ if not empty
  22. set MCPATH=
  23. :: ----------------------------------
  24. :: Leave the rest of the script as is
  25. setlocal EnableDelayedExpansion
  26. set /a LMAX=%SSCOUNT%-1
  27. :: Start multiple MiniCap instances in parallel to get screenshots as close in time as possible
  28. for /l %%N in (0,1,%LMAX%) do (
  29.         set /a O=%%N+1
  30.         start %MCPATH%MiniCap.exe -save "%SSPATH%%SSPREFIX%-%SSDATE%-%SSMONPREFIX%-!O!.%SSFILETYPE%" -capturemon %%N -exit -stderr %MCOPTIONS%
  31.         REM Append the part after the colon to the previous line for logging any errors: >>"%0.%%N.errorlog"
  32. )

Edit1: Modified to number the screenshots according to the Windows monitor numbers (1..n) instead of from 0 to n-1
Edit2: Fixed setting to not have a double period before the extension
Edit3: Added setting for additional MiniCap options

OMG! You are so awesome!

2
Awesome, thanks Ath! huancoi, maybe that will be useful to you.

Thank you!

3
I'm surprised that I don't have a commandline option to capture a specific monitor screen by monitor # in my MiniCap program (the little brother to Screenshot Captor), so the least I can do is add that right away in the next day or so.
Thank you, that would be nice.

4
So , i have to do it twice, quite unconvenient.

5
oh, i mean separate picture for each monitor.

6
The software is geat, but i need to slip the screenshot everytime i capture. And when i capture to many screenshot, the work is hard.

7
I have a pc with 2 monitor, i already use screenshot captor to capture complete workspace. But i want to slip screenshot of each monitor in 2 file (not in just one like default setup).
Please hlep.

Pages: [1]