|
Archive for the 'Scripting' Category
Monday, April 30th, 2007
Century Software, Inc., has had a request to add DDE functionality to the TN3270 and TN5250 terminal emulations. This has not been implemented thus far.
CR 621
Posted in 3270, 5250, Scripting | Comments Off on DDE for TN3270 and TN5250
Monday, April 30th, 2007
The CScript command te.read() does not accept input from the numeric keypad when NumLock is on. When NumLock is off, te.read() outputs odd characters instead.
CR 616, fixed in TinyTERM 4.7.2, 15 March 2012
Posted in CScript, Keyboard | Comments Off on TE.Read() Ignores Numeric Keypad
Monday, April 30th, 2007
Set up a script as the Post session start script. When you first open the .tpx file, the script runs. Click the Open button, or go to the File menu and select Open Session, and open the same .tpx a second time. The script doesn’t run.
Close all the open sessions, but not TinyTERM itself, then open the same .tpx file. The Post session start script still doesn’t run. It only runs the first time you open the .tpx, until you close TinyTERM and start over.
CR 586
Posted in CScript | Comments Off on Post Session Start Script Only Runs Once
Friday, April 27th, 2007
If the connection closes unexpectedly while a TERM script is executing a DWAIT command, the command never times out. You can use ^C to terminate the script normally and close TERM when this happens.
CR 568
Posted in TSL | Comments Off on DWAIT Hangs on Connection Loss
Friday, April 27th, 2007
When TinyTERM is not installed to the default directory C:\Program Files\Century\TinyTERM, a Post session start script won’t run. This is particularly evident when TinyTERM is installed to a drive other than C:.
CR 561
Posted in CScript, Install | Comments Off on Post Session Start Script Doesn’t Run in Non-Default Install
Thursday, April 26th, 2007
Century Software, Inc., has had a request to add a scripting language to SecureFT. This would allow automation of file transfers for the FTP, SFTP and SCP protocols.
This has not yet been implemented. The workaround for FTP is to use TinyTERM and the CScript language.
CR 417
Posted in Scripting, SecureFT | Comments Off on Scripting for SecureFT
Thursday, April 26th, 2007
In TinyTERM 4.x, go to the Edit menu and select Preferences. Set up a TERM Script Language script (.cmd extension) in the Application startup script line. On startup, TinyTERM will give the error: “Error (4514) Bad argument to function: expected number, got undefined.”
The workaround is to convert the script to CScript with tsltrans.exe.
CR 347
Posted in TSL | Comments Off on TSL Translation Fails for Application Startup Script
Thursday, April 26th, 2007
When used in conjunction with the tsl_wait() compatibility command, tsi_retval() always returns 0. tsl_wait does have the same position-dependent return value capabilities that te.wait() does, but tsi_retval() ignores them.
CR 330
Posted in CScript | Comments Off on tsi_retval() Always Returns 0 from tsl_wait()
Thursday, April 26th, 2007
Century Software, Inc., has had a request for a universal timeout capability for script commands. This would theoretically time out any script command that was failing and continue script execution past that point. This has not been implemented thus far.
CR 328
Posted in Scripting | Comments Off on Universal Script Timeout
Thursday, April 26th, 2007
TinyTERM 4.53 includes two CScript commands that will get the current cursor position: te.GetCaretRow() and te.GetCaretCol(). Each returns an integer that gives the position of the cursor relative to the upper left corner of the TinyTERM window. Both commands can be used in earlier versions of TinyTERM 4.x, but only for the TN3270 emulation.
There is no command in TERM or TinyTERM that will set the current cursor position, as understood by the host system. Century Software, Inc., has received requests for a script command to do this, but that has not yet been implemented.
CR 269, get cursor position
CR 526, set cursor position
Posted in Scripting | Comments Off on Get and Set Cursor Position
|