This event fires just before a login or logout scheme is performed.Listed below is a sample macro for use with the Century Software TinyTerm Terminal Emulator to launch a WebDocs search right from within TinyTerm. This can be used by the application to shut down. This can only happen when the UseAlt property is set to FALSE. This event fires when the user has pressed ALT-F4. You will not receive this event if a given TE control is destroyed before the connection is terminated. This event also fires when an attempted connection fails. This event fires when a connection has terminated (either through user action or a remote disconnection i.e., when a socket is disconnected). This event fires when a connection has occurred successfully. sDevice is the device that is being used for capture. iCaptureType is the type of capture that is currently configured. bON is TRUE when capture is being turned on, FALSE when it is being turned off. This event fires when a capture operation starts or stops. This event fires when Caps Lock is turned on. This event fires when Caps Lock is turned off. This event fires when the emulator is set to binary mode. This event fires when a double click is performed in the control. This event fires when a click is performed in the control. Returns -1 on failure, and the index where the font was loaded on success Passing -1 to iFontIndex will load the font in the next available slot. iFontIndex runs from 0-(MAXFONTS-1), where MAXFONTS is currently set to 4, and is a compile-time #define.
The code page file is now hardcoded to be tcs.dat. sCodePage is limited to the short name of the code page. For example, to clear the screen, the command is:Īdd a font to the font list in the TE control. TE objects are accessed in scripting with the format te.ObjectName(parameters).
Milliseconds of pause after a tab character.Įnables handling of ALT keys in emulators.Įnables Windows Look and Feel mode, a combination of ChiseledSelection and ChiseledLineDraw.ĪSCII value of character to request WRU string. Superseded by ChiseledLineDraw.Ī number from 0 (none) to 9 (highest, default) Number of lines to store in the scrollback buffer.
TCP/IP port number for a proxy connection. Hostname or IP address of the proxy server. Number of seconds with no new data to wait before printing. (Only affects setting 20.) Add 128 to add a form feed to the end of the print job. Specifies hostname, IP address, or phone number for Telnet, Rlogin, or TAPI connectionsĪdd 32 to the number above to bypass the Windows printer driver. Sets the TCP/IP port for Rlogin, Telnet or SSH connections. Set to 0 (default) to turn offĮnables stripping of the high bit from incoming data. Pause printing until PrintStopFlags condition is met. Read-only.ĭisables processing of sequences sent from host. Note that the value you use to set the emulation modeĪnd the value you get when you get the emulation do not Sets the COM port used for asynchronous communications by number. For example:Įach TE object includes the following propertiesĪllow ^C interruption for some functions. To get the value of a property, use the property as the argument of an assignment or wherever you need the property's value. To set the value of a property, use the format te.Property = argument. This script asks the user for the host name that the user wants to connect to, sets the necessary properties for a default Telnet connection, and connects to the host the user entered.
The following CScript demonstrates some of the TE Obect's features and how to use them. The TE control does not include any file-transfer components. TE functionality includes terminal emulation, communications relating to terminal emulation, host mode (server), and all properties and functions relating to the above capabilities.