home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows CE - The Ultimate Companion
/
ROMMAN_CE.iso
/
Files
/
Comms
/
PkHPC
/
pkHpc
/
pkHpc_sc.htp
< prev
next >
Wrap
Text File
|
1997-12-13
|
3KB
|
84 lines
<html>
<head>
<meta http-equiv=refer content="file:pkHpc.htc">
</head>
<body>
<h6>Scripting pkHpc</h6>
<P>
Script processing commands are stored in a text file on the HPC and are executed
at startup when a script name is selected in the configuration, via the File menu or via a command key.
<BR><BR>
<B>Syntax</B><BR>
Script commands and the data are separated by spaces. A semicolon (;) indicates a comment.<BR>
The string information in the wait and transmit commands must be delimited by quotes ("). If
a veritcal bar (|) is found in the string it is interpreted as an escape (ASCII 27) character. If a caret (^)
is encountered the next character is made into a control character (i.e. ^M is control-M, a CR). The sequence [...]
indicates optional information.
<BR><BR>
The following script commands are available with <I>pkHpc</I>:
<UL>
<B>Connect</B><BR><BR>
<UL>
This commmand disconnects from the current host and connects to the specified system
<BR><BR>
<B>Connect HostName</B>
<BR><BR>
Where HostName is the name or address of the host system.<BR>
</UL>
<BR><BR>
<B>Wait</B><BR><BR>
<UL>
This commmand waits for the specified string from the host system
<BR><BR>
<B>Wait "the String" [integer/FOREVER]</B>
<BR><BR>
Where "the String" is the information to wait for and integer/FOREVER is the optional time to wait. The
default is 30 seconds.<BR>
</UL>
<BR><BR>
<B>Pause</B><BR><BR>
<UL>
This commmand pauses for the number of seconds indicated prior to executing the next command
<BR><BR>
<B>Pause integer</B>
<BR><BR>
Where integer is the time to pause in seconds.<BR>
</UL>
<BR><BR>
<B>SendKey</B><BR><BR>
<UL>
This commmand sends for the specified key to the host system
<BR><BR>
<B>SendKey key</B>
<BR><BR>
Where key is one of the following:<BR>
<B>Backspace, Delete, Down, End, Esc, F1 thru F12, Home, Insert, Left, NumpadAdd, PageDown, PageUp,
Pause, Return, Right, Up</B> or <B>Tab.</B>
You can also preface the key with <B>shift-</B> and/or <B>ctrl-</B> and/or <B>alt-</B>
(don't forget the dash (-)).
</UL>
<BR><BR>
<B>Transmit</B><BR><BR>
<UL>
This commmand sends for the specified string to the host system
<BR><BR>
<B>Transmit "the string"</B>
<BR><BR>
Where "the String" is the information to send.<BR>
</UL>
<BR><BR>
<B>Exit</B><BR><BR>
<UL>
This commmand causes script processing to stop
<BR><BR>
<B>Exit</B>
<BR><BR>
The exit command is optional. Script processing will also stop when the end-of-file is reached.<BR>
</UL>
</BODY>
</HTML>