If your host terminal support includes the ability to handle mouse click events, you can activate this feature with the clickSendString setting in web.config.
The send string can use any of the available mnemonics such as [esc] (sends 0x1b or \e) or [ctrl-a] (sends 0x01). In addition, additional substitution parameters provide a template capability.
Template parameters:
{0} |
Button text value clicked on the mouse.
Values are 'p', 'q' and 'r' for Left, Right and Center |
{1} |
Button code clicked, where 101=Left, 102=Right and 103=Center |
{2}* |
Row that the mouse was clicked on--note that this is base 0, so row 1=0 (zero) |
{3} |
Column that the mouse was clicked on-- Column 1=0 |
{4} |
Row that was clicked-on, row 1=1 |
{5} |
Column that was clicked-on, column 1=1 |
* Note that these are .NET formats, so you can format in addition to selecting the value, see the example.
Example:
<add key="clickSendString" value="[ctrl-A]{0}[ctrl-M]{3:000}.{2:00}[ctrl-M]"/>
If the user clicks on row 5, column 20 with the left mouse button, the following will be sent:
STX p CR 019.04 CR
Note that this should be compatible with an application programmed for AccuTerm terminal emulation.