Jump to content
Sign in to follow this  
uwolf

Session/window info from RDP Session

Recommended Posts

uwolf

Hi there,

I encounter a different behaviour of WinGetTitle starting an AutoIt Exe program in a RDP Session:

1. If I start the RDP Session first an run the program from the file explorer, I´m able to obtain the title information using WinGetTitle function. That´s what I need, because I like to extract a specfic string, which I need to set the user environment within the application to be tested by AutoIT.

2. But I have to run several RDP sessions without interaction, thus I autostart the AutoIt Exe automatically after user login within the users profile.

In this case the WinGetTitle function returns nothing -> empty string, though the AutoIt program is running fine.

Any idea?

Basically I need to feed the AutoIt exe with some incremental numbers from outside the RDP session. The idea was, to retrieve it from the session name, that would run differently for each RDP session.

Maybe there is another solution.

Thanks for any suggestions.

Greetings

UWO

Share this post


Link to post
Share on other sites
herewasplato

Welcome to the forum.

I'm not sure what to tell you, so I'll just bump the thread to the top page in the hope that others might know a solution or a work around.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
November

Well i read you issue and i dont have any clue.

I know sometimes that when windows is starting some 'Microsoft weird things' happens and just after a while the system is fully operational, a sleep in the beginning of the exe to garantee that the system is fully loaded could help.

Its the best i can recall at this time :)

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites
herewasplato

Does it happen with something simple like getting the title of notepad?

Which RDP tool are you using? RDC? Citrix? ...?

What are the operating systems involved?

Can you post a small script that reproduces the problem for you and that we can test with?


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
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
Sign in to follow this  

×