ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Screenshot Captor

MiniCap screenshot completely white - run from Scheduled Task

(1/2) > >>

alexs77:
Hi.

I'm using MiniCap v1.21.01 on a Windows XP system. To create the screenshot, I'm using the following commands in a .cmd file:

SET SCRIPT_DIR=D:\PerformanceTests\Scripts
%SCRIPT_DIR%"\MiniCap\MiniCap.exe" -capturedesktop -save %SCRIPT_DIR%"\..\Report\Logs\Screenshots\Pre-Run\%COMPUTERNAME% Pre-Run $customdate$.png" -customdate "$Y-$m-$d $H.$M.$S" -exit

But this doesn't look so good...

MiniCap screenshot completely white - run from Scheduled Task

As you can see, the image is completely white. That's not what I expected. When I run the above command manually in a cmd window, MiniCap creates a screenshot the way it's supposed to be. But I need to create screenshots from a Scheduled Task, which runs a .cmd batch file. I'm not logged in when the Scheduled Task is run and the desktop is then also locked.

Is there a way to create a screenshot showing actual content under these circumstances?

Thanks a lot for your help,
Alexander

mouser:
i wonder if this has to do with the scheduled task running under lesser permissions than needed.  is there an way through scheduler to run minicap task as an administrator?

alexs77:
I doubt it has to do with permissions. If I logon to the system using RDP and preventing the system from locking the desktop, I get good screenshots.

The scheduled task is set to only run when the user is logged in, BTW. I automatically login after boot.

mouser:
can you see if its only -capturedesktop that is yielding white captures, what about -capturescreeen

alexs77:
-capturescreen also generated a white image file. I also tried -captureregion: No success there either :(

BTW: It's not just MiniCap which "doesn't work": I also tried NirCmd http://www.nirsoft.net/utils/nircmd.html and it "misbehaves" the same way (well, sorta - it makes black images... *G*)

Navigation

[0] Message Index

[#] Next page

Go to full version