Key EventsIt helps you to automate keystroke in an application which can boost productivity and increase efficiency of the daily tasks performed. A keystroke is a single key or a combination of key presses on a keyboard to perform a ceratin action. This activity works only in a focused mode. Bring the intended application into focus using the Focus Window activity and then use this activity to configure the keystroke to perform the intended action. See Focus Window activity section to know how to bring an application in focus.
Using Focus Window Activity1. In the Canvas Tools pane, click Process Components to expand the tool and view the associated activities. 2. Drag the Key Events activity and drop on to the Flowchart designer on the Canvas. The validation error symbol disappears when required inputs are provided.
3. Configure the function Key, keystroke count and the input keys to form the combination of the keystroke for automation. You can configure a maximum of three keys while forming the keystroke combination. For a single function key, you can set the number the keystroke counts you want to perform along with one key input. However, you can set one key input if you want to configure a combination of two function keys, and no key input can be configured if you want to form a combination of three function keys. Click the following link to know the related steps in detail: Select Function KeysThe function keys are the keys available on the standard QWERTY keyboard. In the Select Function Keys(Max 3) list, select the required function key. You can select a maximum of three keys. Available options are:
§ Shift § Ctrl § Alt § Backspace § BREAK § CAPSLOCK § Delete § ArrowUp § ArrowDown § ArrowRight § ArrowLeft § End § Enter § Space § Escape § Home § Insert § NUM LOCK § PageDown § PAGE UP § Print Screen § Tab § Function Keys (F1-F12) Keystroke CountThis field is available only when a single function key is selected that needs to be pressed multiple times to perform a certain action.
In the Keystroke Count field, enter the number counts the selected function key must be pressed. For example, if the Tab key needs to be pressed three times, then specify the number 3.
Input KeyIt sets an input alphanumeric or special character key as a keystroke. Use this option either in combination with a function Key or an independent keystroke. This field is available only when either three function Keys are selected or when the Keystroke Count option is used. In the Input Key (optional) field, enter any alphanumeric or special character to configure the keystroke. For example, to automate pressing the combination Ctrl + P, in the Select Function Key list, select Control and the in the Input Key field P key.
The Key Events activity is created. Key Events PropertiesThe properties of a Key Events activity are listed in the following table and can be edited in the Properties grid on the right panel.
|
On This Page Hide
Related Topics |