English
Français

Map multiple CScript commands to a single key

Question :

Can I map multiple CScript commands to a single key?

Answer :

Yes, by separating them with semicolons. For example, the following string can be mapped to a key:

te.cls();te.displaynl("Hello World!");

This script will clear the screen, then display "Hello World!" on a single line.

Question :

I need to map an entire script to a key, though. Is there some way I can do that with just one command?

Answer :

The CompileFile() command will do that. The format for the command is:

CompileFile("scriptname.cs");

Replace "scriptname.cs" with the name of your script. The quotation marks are required.

TechTip: Starts Minimized - TechTip: Change the Title Bar from the UNIX application - TechTip: Changing Screen Font Size - TechTip: Code Page Setup - TechTip: Configuring TinyTERM to act as a stand-alone file server for your home or office. - TechTip: Correcting License Problems - TechTip: Debug CScript Errors - TechTip: Determining a PC's Physical Location at Login - TechTip: DSL and Cable Modem Compatability - TechTip: Installing Desktop Shortcuts for TinyTERM - TechTip: Launch Another Windows-based Application From Within TinyTERM - TechTip: Map multiple CScript commands to a single key - TechTip: Mapping your Keyboard to Save Time and Money - TechTip: Missing lines, or misaligned characters using SCO ANSI emulation. - TechTip: Port Forwarding. What is it? - TechTip: Port Forwarding with Microsoft Internet Explorer - TechTip: Port Forwarding with Microsoft Outlook - TechTip: Port Forwarding with Microsoft Outlook Express - TechTip: Port Forwarding with the Opera Web Browser - TechTip: Programming the Mouse Button to Copy and Paste Text - TechTip: Resolving A Missing Application Window On TinyTERM Start - TechTip: Resolving an Error - 115 during a NetUtils Installation - TechTip: Resolving License errors from TinyTERM - TechTip: Scripting TinyTERM Events - TechTip: Setting The background color with CScript - TechTip: Stopping the CenLPD service so you can uninstall TinyTERM Plus - TechTip: Term for Linux / Unix Installation. - TechTip: TinyTERM closes after a connection error - TechTip: TinyTERM Support for Code Pages - TechTip: Transparent Printing in v4.2 - TechTip: Troubleshooting Connection Errors - TechTip: Troubleshooting Connection Failure (Error 10065) - TechTip: Troubleshooting Serial Connections - TechTip: Using TinyTERM's Micro Recorder. - TechTip: Wich version of TinyTERM should one use on a particular Microsoft Windows platform? - Terminal Emulation Competitive Analysis - Secure Shell the need for security - TinyTERM detail overview - TinyTERM Suite - TinyTERM Emulation versus TinyTERM Plus -