skrypton-api / com.waicool20.skrypton.enums / Key

Key

enum class Key

Represents a keyboard key, see here for more information.

Enum Values

Key_Escape

Key_Tab

Key_Backtab

Key_Backspace

Key_Return

Key_Enter

Key_Insert

Key_Delete

Key_Pause

Key_Print

Key_SysReq

Key_Clear

Key_Home

Key_End

Key_Left

Key_Up

Key_Right

Key_Down

Key_PageUp

Key_PageDown

Key_Shift

Key_Control

Key_Meta

Key_Alt

Key_CapsLock

Key_NumLock

Key_ScrollLock

Key_F1

Key_F2

Key_F3

Key_F4

Key_F5

Key_F6

Key_F7

Key_F8

Key_F9

Key_F10

Key_F11

Key_F12

Key_F13

Key_F14

Key_F15

Key_F16

Key_F17

Key_F18

Key_F19

Key_F20

Key_F21

Key_F22

Key_F23

Key_F24

Key_F25

Key_F26

Key_F27

Key_F28

Key_F29

Key_F30

Key_F31

Key_F32

Key_F33

Key_F34

Key_F35

Key_Super_L

Key_Super_R

Key_Menu

Key_Hyper_L

Key_Hyper_R

Key_Help

Key_Direction_L

Key_Direction_R

Key_Space

Key_Any

Key_Exclam

Key_QuoteDbl

Key_NumberSign

Key_Dollar

Key_Percent

Key_Ampersand

Key_Apostrophe

Key_ParenLeft

Key_ParenRight

Key_Asterisk

Key_Plus

Key_Comma

Key_Minus

Key_Period

Key_Slash

Key_0

Key_1

Key_2

Key_3

Key_4

Key_5

Key_6

Key_7

Key_8

Key_9

Key_Colon

Key_Semicolon

Key_Less

Key_Equal

Key_Greater

Key_Question

Key_At

Key_A

Key_B

Key_C

Key_D

Key_E

Key_F

Key_G

Key_H

Key_I

Key_J

Key_K

Key_L

Key_M

Key_N

Key_O

Key_P

Key_Q

Key_R

Key_S

Key_T

Key_U

Key_V

Key_W

Key_X

Key_Y

Key_Z

Key_BracketLeft

Key_Backslash

Key_BracketRight

Key_AsciiCircum

Key_Underscore

Key_QuoteLeft

Key_BraceLeft

Key_Bar

Key_BraceRight

Key_AsciiTilde

Key_nobreakspace

Key_exclamdown

Key_cent

Key_sterling

Key_currency

Key_yen

Key_brokenbar

Key_section

Key_diaeresis

Key_copyright

Key_ordfeminine

Key_guillemotleft

Key_notsign

Key_hyphen

Key_registered

Key_macron

Key_degree

Key_plusminus

Key_twosuperior

Key_threesuperior

Key_acute

Key_mu

Key_paragraph

Key_periodcentered

Key_cedilla

Key_onesuperior

Key_masculine

Key_guillemotright

Key_onequarter

Key_onehalf

Key_threequarters

Key_questiondown

Key_Agrave

Key_Aacute

Key_Acircumflex

Key_Atilde

Key_Adiaeresis

Key_Aring

Key_AE

Key_Ccedilla

Key_Egrave

Key_Eacute

Key_Ecircumflex

Key_Ediaeresis

Key_Igrave

Key_Iacute

Key_Icircumflex

Key_Idiaeresis

Key_ETH

Key_Ntilde

Key_Ograve

Key_Oacute

Key_Ocircumflex

Key_Otilde

Key_Odiaeresis

Key_multiply

Key_Ooblique

Key_Ugrave

Key_Uacute

Key_Ucircumflex

Key_Udiaeresis

Key_Yacute

Key_THORN

Key_ssharp

Key_division

Key_ydiaeresis

Key_AltGr

Key_Multi_key

Key_Codeinput

Key_SingleCandidate

Key_MultipleCandidate

Key_PreviousCandidate

Key_Mode_switch

Key_Kanji

Key_Muhenkan

Key_Henkan

Key_Romaji

Key_Hiragana

Key_Katakana

Key_Hiragana_Katakana

Key_Zenkaku

Key_Hankaku

Key_Zenkaku_Hankaku

Key_Touroku

Key_Massyo

Key_Kana_Lock

Key_Kana_Shift

Key_Eisu_Shift

Key_Eisu_toggle

Key_Hangul

Key_Hangul_Start

Key_Hangul_End

Key_Hangul_Hanja

Key_Hangul_Jamo

Key_Hangul_Romaja

Key_Hangul_Jeonja

Key_Hangul_Banja

Key_Hangul_PreHanja

Key_Hangul_PostHanja

Key_Hangul_Special

Key_Dead_Grave

Key_Dead_Acute

Key_Dead_Circumflex

Key_Dead_Tilde

Key_Dead_Macron

Key_Dead_Breve

Key_Dead_Abovedot

Key_Dead_Diaeresis

Key_Dead_Abovering

Key_Dead_Doubleacute

Key_Dead_Caron

Key_Dead_Cedilla

Key_Dead_Ogonek

Key_Dead_Iota

Key_Dead_Voiced_Sound

Key_Dead_Semivoiced_Sound

Key_Dead_Belowdot

Key_Dead_Hook

Key_Dead_Horn

Key_Back

Key_Forward

Key_Stop

Key_Refresh

Key_VolumeDown

Key_VolumeMute

Key_VolumeUp

Key_BassBoost

Key_BassUp

Key_BassDown

Key_TrebleUp

Key_TrebleDown

Key_MediaPlay

Key_MediaStop

Key_MediaPrevious

Key_MediaNext

Key_MediaRecord

Key_MediaPause

Key_MediaTogglePlayPause

Key_HomePage

Key_Favorites

Key_Search

Key_Standby

Key_OpenUrl

Key_LaunchMail

Key_LaunchMedia

Key_Launch0

Key_Launch1

Key_Launch2

Key_Launch3

Key_Launch4

Key_Launch5

Key_Launch6

Key_Launch7

Key_Launch8

Key_Launch9

Key_LaunchA

Key_LaunchB

Key_LaunchC

Key_LaunchD

Key_LaunchE

Key_LaunchF

Key_MonBrightnessUp

Key_MonBrightnessDown

Key_KeyboardLightOnOff

Key_KeyboardBrightnessUp

Key_KeyboardBrightnessDown

Key_PowerOff

Key_WakeUp

Key_Eject

Key_ScreenSaver

Key_WWW

Key_Memo

Key_LightBulb

Key_Shop

Key_History

Key_AddFavorite

Key_HotLinks

Key_BrightnessAdjust

Key_Finance

Key_Community

Key_AudioRewind

Key_BackForward

Key_ApplicationLeft

Key_ApplicationRight

Key_Book

Key_CD

Key_Calculator

Key_ToDoList

Key_ClearGrab

Key_Close

Key_Copy

Key_Cut

Key_Display

Key_DOS

Key_Documents

Key_Excel

Key_Explorer

Key_Game

Key_Go

Key_iTouch

Key_LogOff

Key_Market

Key_Meeting

Key_MenuKB

Key_MenuPB

Key_MySites

Key_News

Key_OfficeHome

Key_Option

Key_Paste

Key_Phone

Key_Calendar

Key_Reply

Key_Reload

Key_RotateWindows

Key_RotationPB

Key_RotationKB

Key_Save

Key_Send

Key_Spell

Key_SplitScreen

Key_Support

Key_TaskPane

Key_Terminal

Key_Tools

Key_Travel

Key_Video

Key_Word

Key_Xfer

Key_ZoomIn

Key_ZoomOut

Key_Away

Key_Messenger

Key_WebCam

Key_MailForward

Key_Pictures

Key_Music

Key_Battery

Key_Bluetooth

Key_WLAN

Key_UWB

Key_AudioForward

Key_AudioRepeat

Key_AudioRandomPlay

Key_Subtitle

Key_AudioCycleTrack

Key_Time

Key_Hibernate

Key_View

Key_TopMenu

Key_PowerDown

Key_Suspend

Key_ContrastAdjust

Key_LaunchG

Key_LaunchH

Key_TouchpadToggle

Key_TouchpadOn

Key_TouchpadOff

Key_MicMute

Key_Red

Key_Green

Key_Yellow

Key_Blue

Key_ChannelUp

Key_ChannelDown

Key_Guide

Key_Info

Key_Settings

Key_MicVolumeUp

Key_MicVolumeDown

Key_New

Key_Open

Key_Find

Key_Undo

Key_Redo

Key_MediaLast

Key_Select

Key_Yes

Key_No

Key_Cancel

Key_Printer

Key_Execute

Key_Sleep

Key_Play

Key_Zoom

Key_Exit

Key_Context1

Key_Context2

Key_Context3

Key_Context4

Key_Call

Key_Hangup

Key_Flip

Key_ToggleCallHangup

Key_VoiceDial

Key_LastNumberRedial

Key_Camera

Key_CameraFocus

Key_unknown

Properties

code

val code: Long

The keyboard code which is assigned to this key.

Companion Object Functions

fromSikuliKeyCode

fun fromSikuliKeyCode(code: Int): Key

Gets the corresponding Key from the type of java.awt.event.KeyEvent given.

getForCode

fun getForCode(code: Long): Key

Finds a Key with the given code.