transcribe
The transcribe command displays a command in the Main window, then executes the command. The transcribe command is normally used to direct commands to the Main window from an external event such as a menu pick or button selection. The add button and add_menuitem commands can utilize transcribe. Returns nothing.
Syntax
transcribe
Arguments
<command>
Specifies the command to execute. Required.
Examples
add button pwd {transcribe pwd} NoDisable
Creates a button labeled "pwd" that invokes transcribe with the pwd Tcl command, and echoes the command and its results to the Main window. The button remains active during a run.
See also
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |