jtool screenshot

jtool screenshot lets you take a screen shot 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.

If you specify a PID (Windows Process ID), jtool screenshot will take a screen shot 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.

If 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 RunMyJobs user interface.

Note: For installation instructions, see jtool.

Syntax

Copy
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