jtool screenshot
The jtool screenshot
tool allows you to take a screenshot or examine Windows application dialogs and their content. This tool is limited to Windows platform agents and does not have a separate jscreenshot
binary. When run in a process, the Run As User field must contain either {session}
or {console}
keywords or it must run as part of a Windows Session; the process must be able to interact with the desktop.
When you specify a PID (Windows Process ID), then jtool screenshot
will take a screenshot of all dialogs belonging to that process; the name(s) of the file(s) will be the title of the dialog(s), with spaces ( `` ) removed.
When no -list
or -pid
option is specifed, jtool screenshot
generates a PNG named stdscreenshot.png
of the entire screen.
This file is available via live view of the process output files, so if you run this at strategic points during the execution of a process its progress can be monitored in the Redwood Server user interface.
Syntax
jtool screenshot [-h|-?|-help] [-l <loglevel>] [-f <logfile>] [-list] [-p|-pid pid]
Option Default Purpose
---------------- ---------------------- -----------------------------------
-h|-?|-help Show this help and exit
-l <loglevel> ${JCS_LOGLEVEL:-info} Set the logging level; defaults to environment variable
${JCS_LOGLEVEL} or info when the environment variable is not set.
-f <logfile> ${JCS_LOGFILE:-stderr} Log to file instead of stderr; defaults to environment variable
${JCS_LOGFILE} or stderr when the environment variable is not set.
-list List content
-p|-pid pid Process ID