errellion Posted February 26, 2016 Share Posted February 26, 2016 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! Link to comment Share on other sites More sharing options...
alienclone Posted February 26, 2016 Share Posted February 26, 2016 this may be what you are looking for https://www.autoitscript.com/autoit3/docs/functions/ControlListView.htm 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now