Damein Posted May 6, 2014 Share Posted May 6, 2014 So let's assume I have the correct window title ect. and I attempt to use WinGetClassList and the variable comes back empty. Is this because its impossible to read said controls? Or is there another method I can try besides this or the Window Info tool? Opt("WinTextMatchMode", 4) Local $sClassList = WinGetClassList("[ClASS:ApolloRuntimeContentWindow]", "") MsgBox(0, "Test", $sClassList) That's the code and I'm trying to read the text in the window of Pandora's desktop app. I know I have the class right because I used Opt("WinTextMatchMode", 4) While 1 Sleep(10) If WinExists("[ClASS:ApolloRuntimeContentWindow]", "") Then MsgBox(0, "Test", "Exists") Else Sleep(10) EndIf WEnd And when I open Pandora it alerts with the Msgbox and then if I close it will go away. So yeah, thanks in advance! Most recent sig. I made Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic Link to comment Share on other sites More sharing options...
jguinch Posted May 7, 2014 Share Posted May 7, 2014 Did you try with AutoIt Window Info ? You can also use >Control Viewer, which will list all controls (if possible) Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
junkew Posted May 7, 2014 Share Posted May 7, 2014 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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