what are the differences between simulate and send window messages
1 Like
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.
6 Likes
8 Likes