Technical Support Contact Us   

PC Access for Windows Reference Guide

for PC Access Version 4.30


(Contents)(Previous)(Next)

Script Command: send

Format:

send "string";

This command sends the characters in "string" to the host.

The "string" can include control characters. To specify a control character, prefix it with the caret (^). For example, ^M sends a control-M which also equates to the ENTER key. You can also mix regular text with control characters in the same string.

Send strings can also include runtime macros. You may create a runtime macro with the inputbox command. A runtime macro stores the user's input from the input box. You must prefix the runtime macro name with a ^! in the send string. Runtime macros must be uppercase and can contain only letters or the underscore symbol.

Examples:

// Send the word "Hello" to the host:

send "Hello";

// Send the runtime macro NAME to the host:

send "^!NAME";

// Send "Hello" ENTER "Bye" ENTER:

send "Hello^MBye^M";

Back to script command list.


(Contents)(Previous)(Next)

[Contents] [Search] [Glossary of Terms]


Tell me more about this site.
Can't find what you need? See: How to Find It.
Contact us
Report a problem with this page or suggest an improvement for this page.

Last modification date: Friday, January 17, 2003 00:58:47

 

Copyright © 2005 - MFM Software, Inc.
11988 Tramway Drive
Cincinnati, OH 45241
Phone: 513.733.9229
Fax: 513.733.8775
Send comments to webmaster@mfm.com