Hi team,
i’ve seen the documentation about the differences between input methods.
In some examples, like below:
To change these behaviors, we will update the input methods for the activities: for the Type Into activities, let’s enable SendWindowMessages, and for the Click, we’ll enable SimulateClick.
Why is it not used simulate in both activities, is there a difference when used in type into compared to click activity?
I know the differences between the three input methods, what i don’t understand is why, in some example, uipath reports the type into with “send window message” and click with “simulate click” properties selected.
Apart from the support of the hotkey, there are other differences to prefer “send window message” instead of “simulate type” when using “type into”?
In Type Into activity, we might need to send special keyboard shortcuts. So SendWindowsMessages is a input methods which supports HotKey, where as SimulateType is not support Hotkey.
While you are adding a Type Into activity, UiPath Studio is choosing input method as neither SendWindowsMessages nor SimulateType as in the below inline screenshot. The Default input method is applied.
In Click Activity - When we are using SimulateClick, there is no HotKey support available but the activity itself having an option to set KeyModifiers alone with the click.
Same like Type Into activity, UiPath Studio is choosing input method as neither SendWindowsMessages nor SimulateType for Click Activity as in the below inline screenshot. Default input method is applied
To Answer your question - Why is it not used simulate in both activities, the answer is SimulateType is not support Hotkey on Type Into activity. There is no other difference to my knowledge.