Envia teclas para o Buffer de Teclado


ACBr.SendKeys( cTeclas [, bAguarda] );


Parâmetros:

cTeclas – Teclas a serem enviadas, usando a sintaxe especificada abaixo:

bAguarda - Se True, aguarda o termino do envio das teclas


Exemplos:

ACBr.SendKeys("^{ESC}") - Envia Ctrl+ESC para o buffer de Teclado


Sintaxe:

SendKeys supports the Visual Basic SendKeys syntax, as documented below.


Supported modifiers:


+ = Shift

^ = Control

% = Alt


Surround sequences of characters or key names with parentheses in order to

modify them as a group.  For example, '+abc' shifts only 'a', while '+(abc)' shifts

all three characters.


Supported special characters


~ = Enter

( = Begin modifier group (see above)

) = End modifier group (see above)

{ = Begin key name text (see below)

} = End key name text (see below)


Supported characters:


Any character that can be typed is supported.  Surround the modifier keys

listed above with braces in order to send as normal text.


Supported key names (surround these with braces):


BKSP, BS, BACKSPACE

BREAK

CAPSLOCK

CLEAR

DEL

DELETE

DOWN

END

ENTER

ESC

ESCAPE

F1

F2

F3

F4

F5

F6

F7

F8

F9

F10

F11

F12

F13

F14

F15

F16

HELP

HOME

INS

LEFT

NUMLOCK

PGDN

PGUP

PRTSC

RIGHT

SCROLLLOCK

TAB

UP


Follow the keyname with a space and a number to send the specified key a

given number of times (e.g., {left 6}).



Nota:

Apenas disponível no Windows

Created with the Personal Edition of HelpNDoc: Free EPub producer