1. Component introduction
Prerequisite component: Get Window
Use this component to interact with a program window on Windows. It uses Optical Character Recognition (OCR) to enter text into a specified text box within that window.
2. Inputs
For help with each input, see the component panel in the visual editor.
3. Outputs
For help with each output, see the component panel in the visual editor.
4. Component usage example
4.1. Configuration example
For
Window Object, select `v_win_obj_1`, which is the output of the prerequisite Get Window component.Use the Catch Control feature to capture a control that is an input box with gray placeholder text. Name the control "DingTalk search box".

For
Input Box Control, select "DingTalk search box".For
OCR Engine, select "Paddle".For
Input Content, enter "Welcome to Alibaba Cloud RPA".For
Keyword to Detect, enter "Search".For
Keyword Index, select "1".In the advanced options, set
Simulate Inputto "Yes".In the advanced options, for
Input Interval Between Characters (ms), enter "80".
4.2. Example result
The component successfully enters text into the DingTalk search box automatically.
5. Flow creation example
Setup flow
Use the Get Window component to obtain the DingTalk window object.
Use the Activate Window component to activate the DingTalk window and bring it to the foreground.
Use the OCR Input (Window) component to enter text in the DingTalk search box.

Result
As shown in the following figure, the flow successfully enters the specified text into the DingTalk search box.