Sign in to follow this  
Followers 0
Damein

WinGetControlList

3 posts in this topic

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!


MCR.jpg?t=1286371579

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

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  
Followers 0