Tcl Command Reference

Tcl Command Reference Guide

125 views July 18, 2019 July 19, 2019 kirvy 0

Introduction

This reference guide describes the InTime Tcl language. It is derived from Tcl/tk and uses similar syntax, notations and design rules. It is not intended as a tutorial. The list of commands can be displayed in the InTime Tcl console by typing “help”. The commands generally organized hierarchically and can consist of several consecutive command invocations. Commands are also variadic, as per Tcl.

Usage Examples

Multiple commands
To retrieve the project filename, three commands are required, “project” and “info”, followed by “file_name”

plunify> project info file_name

Multiple commands with an argument
To retrieve a summary of the job, two commands are required, “job” and “summary”, followed by jobID=2

plunify> job summary 2

 

Top-level Commands

Typing the top-level command in the tcl console will display the list of secondary commands. For example, typing “flow” will give you a list of commands under “flow”.

exit  Exit InTime
flow  Control and execute the InTime flow
flow_steps  Allows execution of individual steps in the InTime flow
help  Displays this help message
history  Shows the commands history
job  Operations on existing jobs
license  License management functions and displays the current license file for InTime.
log <message> <type> Send specific log messages to the InTime session log. Example:

log "something failed" error

Supported types:
info, warning, error

misc  Miscellaneous helper functions
project  Details and control of the open vendor project
results  Provides details about the current results set
run_target  Operations to configure, test and perform actions specific to different run targets
strategy  Provides details of the currently active strategy/result
vendors  Allows configuration of vendor tool settings

Deprecated

These features have been deprecated and is not advisable to use them

msgbox  Show or get feedback from user using a message box

Was this helpful?