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

DonationCoder.com Software > Screenshot Captor

Follow-up on Auto-Capture thread begun by someone else

<< < (3/4) > >>

mouser:
It's either the use of -capturescreeen instead of -capturescreen or a bug with the $dt.
I'm away from my pc at the moment so hard for me to test.

nkormanik:
Good grief.  An extra e.  My bad.

Still a problem, though:

C:\Downloads>"C:\Program Files\MiniCap\MiniCap.exe" -capturescreen -save "C:\Screen Captures\$dt:%Y-%m-%d %H_%M_%S$.png" -exit

Problem with the %Y part.

Resulting file name is:  %Y-08-30 15_46_42.png

And not:  2011-08-30 15_46_42.png

What do I have wrong?

Thanks!

Ath:
Good grief.  An extra e.  My bad.
-nkormanik (August 30, 2011, 04:51 PM)
--- End quote ---
Looking at the MiniCap page, I also see the triple e version of -capturescreeen :-[

nkormanik:
Made another mistake above.  Command line should have been:

"C:\Program Files\MiniCap\MiniCap.exe" -capturescreen -save "C:\Screen Captures\$dt:%Y-%m-%d %H_%M_%S$.png" -exit

Ath:
Problem with the %Y part.

Resulting file name is:  %Y-08-30 15_46_42.png
-nkormanik (August 30, 2011, 04:51 PM)
--- End quote ---

Just tried that, and can confirm it. But leaving out (only) the % before the Y (...$dt:Y-%m...) gives the current year in 4 digits. It's probably a parsing or parser-state error :huh:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version