Jump to content

Read text from field that Window Info can't see


 Share

Recommended Posts

Hello Forum!

I have discovered AutoIT today as I was looking for some automation of GUI tasks in Windows Server. My ultimate goal is to automate sessions logoffs in some manage of telnet session that exceed 8h connection time. I have manage to start application, enter credentials and connect to server. No I have list of sessions and Window Info is reporting it as Class: SysListView32, but nothing more. This list have some clickable fields that can be used to sort sessions. I'm interested in "Elapsed time" column which contains duration of connection. It seems that AutoIT can't "see" values in this column when I click specific record. Is there a way to somehow fetch this data and use it for comparision? I think I only need first digit as every value greater than 8 will be enough to tell AutoIT to kill this session.

Thank You for any clue or help!

autoit.jpg

Link to comment
Share on other sites

If @error Then
    MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!")
EndIf

"Yeah yeah yeah patience, how long will that take?"  -Ed Gruberman

REAL search results  |  SciTE4AutoIt3 Editor Full Version

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...