How to get window title of remote desktop

Badge +3

Any one has following experience?


We have a bot which is close all windows before start to log in to SAP. basically it is using key stroke ALT F4 in active window after getting the window title . it is working fine in local physical computer (laptop) but it has problem when working with virtual machine. it will automatically close the remote desktop window (i.e. close the connection of VM).


Thanks for any advice.



3 replies

Badge +1

Maximize Remote Desktop window before calling Startup task

Userlevel 4
Badge +7

Hi @Mingshan Xu​ ,


You could try using Taskkill instead.

Keystrokes are nowhere near as reliable, and with Taskkill you can choose which applications to close.


Here is an example where I'm closing calculator and excel.


imageKind Regards,

Ashwin A.K

Badge +3

Thanks for reply, I will task kill