SIMPOL Documentation

Chapter 78. sendkeys

This is a SENDKEYS implementation written in SIMPOL and which is specific to Windows. It does not currently have an implementation for Linux.

sendkeyshelper

Description

Type Tags

None

Object Value

Objects of type sendkeyshelper have no value, and it is an error to try to get or set this value.

sendkeyshelper.new()

Description

Prototype

sendkeyshelper.new ( sendkeyshelper me, integer error )

Parameters

ParameterDefault valueType nameDescription
meNonesendkeyshelper
errorNoneinteger

Properties

PropertyTypeDescription
GetVersionsharedlibraryfunction
KeyCodefunction
KeyDownfunction
KeyUpfunction
MapVirtualKeyAsharedlibraryfunction
MapVirtualKeyWsharedlibraryfunction
VkKeyScanAsharedlibraryfunction
VkKeyScanWsharedlibraryfunction
bNtboolean
keybd_eventsharedlibraryfunction
typetype

Methods

KeyCode()

Description

Prototype

sendkeyshelpervar.KeyCode ( sendkeyshelper me, string char )

Parameters
ParameterDefault valueType nameDescription
meNonesendkeyshelper
charNonestring

KeyDown()

Description

Prototype

sendkeyshelpervar.KeyDown ( sendkeyshelper me, integer vKey, integer scancode )

Parameters
ParameterDefault valueType nameDescription
meNonesendkeyshelper
vKeyNoneinteger
scancode0integer

KeyUp()

Description

Prototype

sendkeyshelpervar.KeyUp ( sendkeyshelper me, integer vKey, integer scancode )

Parameters
ParameterDefault valueType nameDescription
meNonesendkeyshelper
vKeyNoneinteger
scancode0integer