You can do this in TinyTERM 4.x by mapping a key to the CScript command SessionNew(). To do this, open the keyboard map and click on the key you want to use. Change the Action to COMMAND. In the Value field, enter:
SessionNew(“default.tpx”);
Replace default.tpx with the name of the session you want to open, enclosed in quotation marks.
If you don’t want to open a specific file each time, but select one on the fly instead, combine SessionNew() with StdOpen(), which will give you a standard file browse dialog. That command is:
SessionNew(StdOpen(“C:\\Program Files\\Century\\TinyTERM”,”tpx files|*.tpx|”,”tpx”,”TinyTERM Connection Files”));
This entry was posted
on Friday, April 13th, 2007 at 10:05 am and is filed under CScript, Keyboard.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.