Done Сreate screenshots

Sep 13, 2016
50
0
I suggest adding a command to create screenshots in the .JPG format.
If this is possible, I will make a list of possible keys and parameters.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
You could use it in a batch file?

There is the @SNAPSHOT function. It only creates .BMPs, but there are lots of ways to convert formats; IrfanView comes to minds. And Rex could doubtless add .JPG support to @SNAPSHOT if there were demand.
 
Sep 13, 2016
50
0
@SNAPSHOT saves it to the clipboard. I need to get the finished file in the JPG format. This will be used in the batch file. And it is desirable to save an image snapshot and all the screen, and only the active window. Let there be PNG a format, this is not a principle. :-)
 
Sep 13, 2016
50
0
That's what I want to get minimally. When you run the command without the keys and parameters, the snapshot of the active window is saved in the current directory in the format year-month-day-hour-minute-second. The /P (ath) parameter specifies the destination folder. The key /F (ull) is a snapshot of the entire screen. The key /R (epeat) = x, - screenshots will be created before pressing Ctrl-Break, where x is a pause in seconds.
 
Jan 19, 2011
614
15
Norman, OK
How about using convert from http://imagemagick.org?

Code:
do forever ( echo %@snapshot[DESKTOP] > NUL & convert clipboard:image %_datetime.jpg & sleep 5 )

Put what you want to capture in the @snapshot function, insert your path before %_datetime, and change the sleep to how long.
 
Sep 13, 2016
50
0
upload_2017-7-29_13-33-43.png
 
Sep 13, 2016
50
0
ScreenShot.dll and ScreenShot-x64.dll - The same plugins. I renamed ScreenShot-x64.dll to ScreenShot.dll
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
I think I understand. The IF PLUGIN test looks at a plugin's internal name, not its filename. And this plugin's internal name is always "ScreenShot", regardless of whether you're using the x86 or the x64 build, whether you've renamed the file, and so on. So your test should be IF NOT PLUGIN SCREENSHOT.... Even if you rename the file to ZARATHUSTRA.TXT, you can still load it with PLUGIN /L and it will still call itself "ScreenShot".


Or, alternatively, you can use IF ISPLUGIN SCREENSHOT to check whether the SCREENSHOT command has been installed. Again, the command name won't change even if you rename the file.