Search

WinKeys

Last Updated: Dec 13, 2020

Articles

Use this utility function to send keys to the given Window/Application.

Note: If the target application is in the background then it will be brought to the front before the keys are sent.

Syntax

Winkeys (window_title, key_text, is_spcl_key, modifiers)

Parameters

Input Parameter Name Description
window_title Title of target window
key_text Key Text
is_spcl_key True to send special key otherwise False
modifiers Modifier key. Pass ‘None’ if no modifier

Sample

WinKeys (notepad++,s,True ,^) => ctrl+s

  • Send the key ‘s’ with the modifier ‘^’(ctrl) to the Notepad++ Application

To view all the User Interface (UI) functions, click here.

Did you find what you were looking for?