SendKeys
Find the syntax, use, parameters, return values, and an example for the SendKeys macro command in Connexion client.
Syntax | CS.SendKeys string$ [, wait%] |
---|---|
Use to | Send keystrokes to the client. |
Parameters |
Both parameters are required. |
Recommendation | OCLC recommends that you precede a CS.SendKeys string in a macro with an empty CS.SendKeys string to help stabilize the way SendKeys works. Example: Dim CS As Object Set CS = GetObject(,“Connex.Client”) CS.SendKeys ““, -1 CS.SendKeys “{(}abc{)}”, -1Sends the keys (abc) |
Comments |
|
Return values | None |
Example | Sub Main() Dim CS As Object CS.SendKeys ““, -1 |
What this example does |
|
Keywords used to send non-printable keys
Key | Parola chiave |
---|---|
Backspace | {BACKSPACE} or {BKSP} or {BS} |
Break | {BREAK} |
Caps Lock | {CAPSLOCK} |
Clear | {CLEAR} |
Delete | {DELETE} or {DEL} |
Down Arrow | {DOWN} |
End | {END} |
Enter | {ENTER} |
Esc | {ESCAPE} or {ESC} |
Help | {HELP} |
Home | {HOME} |
Insert | {INSERT} |
Left Arrow | {LEFT} |
Num Lock | {NUMLOCK} |
Page Down | {PGDN} |
Page Up | {PGUP} |
Right Arrow | {RIGHT} |
Scroll Lock | {SCROLLLOCK} |
Tab | {TAB} |
Up Arrow | {UP} |