Jump to content

Get title window from RDP


Recommended Posts

Hi everyone,
I try to briefly explain my problem.

I have created a script that works on my company program from which I access via citrix.
Basically I make a series of data entries on various pages in cascade. Between one page and another I use the "winwaitactive" command to wait for the page to load.
The program works!!

Now, my company has changed program access from citrix to remote RDP access.
The main problem is that all windows/pages have the same name and the same Handle (verified with Window Info), so I can not use the "winwaitactive" command.

The strange thing is that the title of the window changes (as before on citrix) but when I try to use "Windows Info" the title is always the same, probably because it reads the name of the remote connection session.

Any suggestions or advice?

Link to comment
Share on other sites

i dont understund  explain me  , because  i work always  in RDP ,  now  i write  you by my rdp windows 7  , when i use  info tool  in  folder or other program i  visualize a correct  handel and i can  crate all macro i want

Link to comment
Share on other sites

Maybe I explained myself wrong.

I use my personal PC, my company's software run on a remote desktop and when i try to use info tool on remote desktop each program window has the same name, even if the name changes in the top bar of the window.

For example

- with desktop remote every windows of this software is called "Company name - NAV Classic"

- With the old software in Citrix the windows is called "Company name - NAV Classic - page1", "Company name - NAV Classic - page2", "Company name - NAV Classic - page3", etc...

Edited by jgiuse
Link to comment
Share on other sites

20 minutes ago, jgiuse said:

when i try to use info tool on remote desktop each program window has the same name, even if the name changes in the top bar of the window

yes, obviously. You are getting the info from your PC. If you copy your script to the remote PC ( via \\tsclient\c\ maybe ), you can run it from the remote PC, within the remote PC environment ;) 

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

On 6/9/2020 at 7:37 AM, jgiuse said:

Now, my company has changed program access from citrix to remote RDP access

On that note. You are not an Admin. You're gonna have to tell them to give you what you need or else !!!, your work is gonna be from slower to impossible. :( 

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

If you have access to the same network shares from your PC and the system you are remoting into, then download and use the standalone AutoIt version and save it to a network share.

You can then create and run scripts from the system you are remoting into.

 

UNLESS you are actually running the Applications only via RDP and not actually logging into a desktop.  Then, you are out of luck.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...