npocmaka / batch.scripts

batch script utils and examples by npocmaka -
https://www.linkedin.com/in/npocmaka/
MIT License
1.08k stars 873 forks source link

Screen capture with specified window title capture the foreground window #29

Open Delectus98 opened 4 years ago

Delectus98 commented 4 years ago

Hello,

Running this command only capture the foreground window not the specified one. Sometimes its the good one but not everytime.

screenCapture capture.png title

EDIT: I read in the code that only foreground windows can be captured. Case closed or new features needed?

Delectus98 commented 4 years ago

I found an alternative (no relation with this issue) be free to close it. Bye