|
||||
|
|
||||
|
PC Access for Windows Reference Guidefor PC Access Version 4.30![]() ![]() ![]()
Script Command: sendFormat: 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";
![]() ![]() ![]()
| |||