What are the differences between simulate and send window messages

what are the differences between simulate and send window messages

1 Like

Hey @rpadev,

Please refer to the link below :slight_smile:

3 Likes

hey @Rishabh_Lakhera i want the real time examples…where to be used and where to be not used?

You can use default if you do not want to work in the background, if you want a process to take place in background, ie, you do not want to lose your cursor control, then you can use SendWindowMessage or SimulateType.The latter is faster, but does not support hotkeys,

Eg. you want to type into a text box “weather” followed by an enter, the simulate type will take it as
“[k(enter)]”

13 Likes

thanks,that’s cool explanation

When you do simulate click the bot in the background communicates with the target application. Basically it tries to communicate with the target class of that element.

On the other hand, send window messages tries to communicate with the DLL of the application.

7 Likes

Good Point…@Digvijay_Mendgudli

Nice Explanation…@Rishabh_Lakhera

image

8 Likes