Skip to main content
Cadet | Tier 2
June 3, 2022
Question

How to get window title of remote desktop

  • June 3, 2022
  • 3 replies
  • 241 views

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

    Cadet | Tier 2
    June 5, 2022

    Maximize Remote Desktop window before calling Startup task

    Ashwin A.K
    Navigator | Tier 3
    June 6, 2022

    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

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Cadet | Tier 2
    June 13, 2022

    Thanks for reply, I will task kill