EnglishРусский  

   Array

   Buffer

   Clipboard

   COM/OLE

   Console

   CSV

   Dbf

   Files

   FTP

   Hash

   HTTP

   INI File

   Keyboard

   Math

   Memory

   Process

   Registry

   Socket

   Stack

   String

   System

   Thread

   Tree

   XML

The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

sendvkey

Pressing a key. Press a key alone or together with Shift, Ctrl, Alt.

func uint sendvkey (
   ushort vkey,
   uint flag
)

Parameters

vkey Virtual key code.
flag Flags for pressing additional keys.
$SVK_SHIFTShift is pressed.
$SVK_ALTAlt is pressed.
$SVK_CONTROLCtrl is pressed.

Return value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.

Related links

Source