Jump to content

Detecting window state with Basic Control Info


Recommended Posts

Hello,

I want to use the "Basic Control Info: Class" to find out in which state the Skype window is. To be more specific: I want to know whether a call is happening in Skype

If window:"Skype" contains basic class: TLiveConversation

Then PopUpMsgBox: "call winow"

If window:"Skype" contains basic class: TConversationsControl

Then PopUpMsgBox: "contacts window"

 

Skype contact window:

 

>>>> Window <<<<
Title:    Skype™ - XXX
Class:    tSkMainForm
Position:    333, 58
Size:    600, 703
Style:    0x16CF0000
ExStyle:    0x00050100
Handle:    0x0000000000010322

>>>> Control <<<<
Class:    TConversationsControl
Instance:    1
ClassnameNN:    TConversationsControl1
Name:    
Advanced (Class):    [CLASS:TConversationsControl; INSTANCE:1]
ID:    66352
Text:    
Position:    8, 89
Size:    167, 480
ControlClick Coords:    56, 194
Style:    0x56000000
ExStyle:    0x00000000
Handle:    0x0000000000010330

 

Skype during a call:

 

>>>> Window <<<<
Title:    Skype™ - XXX
Class:    tSkMainForm
Position:    62, 0
Size:    1378, 810
Style:    0x16CF0000
ExStyle:    0x00050100
Handle:    0x0000000000010322

>>>> Control <<<<
Class:    TLiveConversation
Instance:    1
ClassnameNN:    TLiveConversation1
Name:    
Advanced (Class):    [CLASS:TLiveConversation; INSTANCE:1]
ID:    66480
Text:    
Position:    0, 4
Size:    1362, 744
ControlClick Coords:    848, 451
Style:    0x56010000
ExStyle:    0x00000000
Handle:    0x00000000000103B0

(The red marked thing is what I want to detect)

 

Here is what I got so far (currenly working with visible text detection in window, but i want to change that):

Global $stop;the variable for start / stop, has to be declared at the beginning

Hotkeyset("{F2}","go") ;starthotkey
Hotkeyset("{F3}","stop");stophotkey
hotkeyset("{F4}","close"); shuts the bot down

send("{F2}");starts the bot when scripts is started
Func Bot()
While $stop > 2;starts loop

$DEBUG = False
$skypeMainWindow = "Skype™ - XXX"
$paulWindow = "PAUL"
$skypeOverlayWindow = "[CLASS:TCallMonitorForm]" ;This is the name of the little window that pops up during a call when skypeMain window is not the active window
$skypeCallConfirmWindow = "Anrufen"; must be changed, works only in german Skype version
$skypeCallWindow = "[CLASS:TLiveConversation]"

;Next four If are checking which window is currently active, and if it's active what to do next.
If WinActive($skypeMainWindow, "ContProf_") Then
   If $DEBUG = True Then
    MsgBox(0, "", "Skype mainWindow it active",1)
    Endif
 EndIf

If WinActive($paulWindow) Then
   If $DEBUG = True Then
    MsgBox(0, "", "PAUL is active",1)
    EndIf
 EndIf

If WinExists($skypeOverlayWindow) Then
   If $DEBUG = True Then
   MsgBox(0, "", "Skype overlay is active",1)
   EndIf
 EndIf

If WinExists($skypeCallConfirmWindow) Then
   If $DEBUG = True Then
   MsgBox(0, "", "Skype callConfirmis active",1)
    EndIf
   ControlSend($skypeCallConfirmWindow,"","","o");send hotkey 'o' to press OK button to close the window "You are about to start a call"
 EndIf

Wend;ends loop
EndFunc

while 1      ;the idling loop that the program wont close
    sleep(10)
    WEnd

func go()       ;function to start the bot
    $stop = 3   ; if stop > 2 ==> loop will be done until stop hotkey will be pressed
    Bot()
EndFunc

func stop()  ; function to stop the bot
    $stop = 1;if stop < 2 ==> loop will run until the end and func lossbot will end too.
EndFunc

func close()  ;closes the bot, i think it speaks for itself
    Exit
Endfunc

So here is my question: How do I find out if the window currently contains a specific class (NOT "tSkMainForm" class, it is always there) in Basic Info Control.

I'd be greatful if anyone could help me out.

Edited by JessicaD
Link to comment
Share on other sites

  • Moderators

Hi, JessicaD. Have you looked into the Skype UDF (below)? I know that Firefox has compiled a lot of functionality into the library; it may have some functions that do what you are trying to accomplish.

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Hello JLogan3o13,

thank you for your reply! Sadly this API is not an option. Skype anounced that soon this API will not supported anymore.So it's unknown whether they will shut down the API or leave it unsupported.

This regex works for me (finaly) during a currently active call

If WinExists("[REGEXPCLASS:TLiveConversation]", "") Then
   MsgBox(0, "", "Skype CALL is active",1)
EndIf

but what confuses me, it does not work for the lobby/contact list

If WinExists("[REGEXPCLASS:TConversationsControl]", "") Then
   MsgBox(0, "", "Skype CONVERSATIONSCONTROL is active",1)
EndIf

any ideas why this is so? It's the same approach.

Edited by JessicaD
Link to comment
Share on other sites

Hello JLogan3o13,

thank you for your reply! Sadly this API is not an option. Skype anounced that soon this API will not supported anymore.So it's unknown whether they will shut down the API or leave it unsupported.

This regex works for me (finaly) during a currently active call

If WinExists("[REGEXPCLASS:TLiveConversation]", "") Then
   MsgBox(0, "", "Skype CALL is active",1)
EndIf

but what confuses me, it does not work for the lobby/contact list

If WinExists("[REGEXPCLASS:TConversationsControl]", "") Then
   MsgBox(0, "", "Skype CONVERSATIONSCONTROL is active",1)
EndIf

any ideas why this is so? It's the same approach.

 

I haven't used REGEXPCLASS for Window matching, but are you sure that syntax makes sense?  I would expect to see something similar to the helpfile example-

WinList("[REGEXPTITLE:(?i)(.*SciTE.*|.*Internet Explorer.*)]")

If you want a static class maybe just use CLASS and not REGEXPCLASS?  Also, WinExists with class/regexpclass only checks for the window class, not a control class, and it looks like you want a controlclass.  If you want to check if a controlexists try controlgethandle with some error checking.

Also, I'd suggest increasing the time on your messagebox, 1 second is really short and if the messagebox falls under something that is on top, its possible that you aren't seeing the messagebox even though it really is showing.

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Link to comment
Share on other sites

The class you are looking for is that of a control:

$hHandle = ControlGetHandle($hWindow,"","[CLASS:TLiveConversation; INSTANCE:1]")
If IsHWnd($hHandle) Then
    MsgBox(1,1,"TliveConversation control exists")
EndIf
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

  • 2 weeks later...

hey guys,

thank you for your replys.

someone:

- I've tried CLASS and REGEXPCLASS: Just to be sure, this functions wont find control classes?

- I think the MsgBox time is long enough, I can easly see the boxes and it's inside of a loop.

jdelaney:

- This dosn't work for me. It works with the "TLiveConversation" for the call window, but it dosn't work with "TDivider" for the main window.

I try to discribe my problem more exact: I wanna check which of 3 states the Skype window is currently in

- Skype main: Skype just started; you can see contacs here

- Skype call: Skype during a call;Skype gets all dark and you can see your conversation partner

- Skype overlay: If Skype window is not on top/not the active window; It's a small window

The Skype overlay is not a problem, same goes for the call. But i can determine if it's in the Skype main window state.

I must know that, I can't do: If it's not call or overlay it must be main.

Skype main: WinGetClassList returns

TDivider
TChatBanner
TBrowserControl
Shell Embedding
Shell DocObject View
Internet Explorer_Server
TEmptyCanvas
TMyselfControl
TDivider
TAppToolbarControl
TConversationsControl
TAccessibleEdit
TScrollBar
TDCEmbedBanner
TDivider
TSkypeSplitter
TDivider
TZapCommunicator
THomeForm
THomeBackground
TBrowserControl
Shell Embedding
Shell DocObject View
Internet Explorer_Server
TWebAppErrorPanel
TButton
TCanvasNavigationPanel
TConversationForm
TZapCommunicator
TChatBanner
TDivider
TContactProfile
TNonLiveCallToolbar
TSkypeSplitter
TDivider
TPostCallPanel
TFlamingoUpsellPanel
TMSNUpsellPanel
TAddContactBanner
TChatContentControl
TScrollBar
TFindPanel
TChatEntryControl
TSmileyButtonPanel
TChatRichEdit
TSkypeSplitter
TLiveConversationPanel

but noone of my attempts seem to work
 

$hWindow = "Skype"

If WinExists("[REGEXPCLASS:*TDivider*]", "") Then
   MsgBox(1,1,"TDriver")
EndIf

$hHandle = ControlGetHandle($hWindow,"","[CLASS:TDriver]")
If IsHWnd($hHandle) Then
   MsgBox(1,1,"TDriver")
   EndIf

$hHandle = ControlGetHandle($hWindow,"","[REGEXPCLASS:*TDriver*]")
If IsHWnd($hHandle) Then
   MsgBox(1,1,"TDriver")
   EndIf

I need to use the control classes as a fix point, because this provides me with reliable info in which state the Skype window is.

Anymore ideas how to solve my problem?

Edited by JessicaD
Link to comment
Share on other sites

Just for pure debugging, run this, and send back the output of both windows states.  It's possible that the controls are always present.

It might be good to also add in an output for controlcommand isenabled, and isvisible.

$hWin = WinGetHandle("Skype")
Var_GetAllWindowsControls2($hWin)
Func Var_GetAllWindowsControls2($hCallersWindow)
    ; Get all list of controls
    $sClassList = WinGetClassList($hCallersWindow)
    ; Create array
    $aClassList = StringSplit($sClassList, @CRLF, 2)
    ; Sort array
    _ArraySort($aClassList)
    _ArrayDelete($aClassList, 0)

    ; Loop
    Local $iCurrentClass = "", $iCurrentCount = 1, $iTotalCounter = 1

    For $i = 0 To UBound($aClassList) - 1
        If $aClassList[$i] = $iCurrentClass Then
            $iCurrentCount += 1
        Else
            $iCurrentClass = $aClassList[$i]
            $iCurrentCount = 1
        EndIf

        $hControl = ControlGetHandle($hCallersWindow, "", "[CLASSNN:" & $iCurrentClass & $iCurrentCount & "]")
        $text = StringRegExpReplace(ControlGetText($hCallersWindow, "", $hControl), "[\n\r]", "{@CRLF}")
        $aPos = ControlGetPos($hCallersWindow, "", $hControl)
        $sControlID = _WinAPI_GetDlgCtrlID($hControl)
        If IsArray($aPos) Then
            ConsoleWrite("Func=[Var_GetAllWindowsControls]: ControlCounter=[" & StringFormat("%3s", $iTotalCounter) & "] ControlID=[" & StringFormat("%5s", $sControlID) & "] Handle=[" & StringFormat("%10s", $hControl) & "] ClassNN=[" & StringFormat("%19s", $iCurrentClass & $iCurrentCount) & "] XPos=[" & StringFormat("%4s", $aPos[0]) & "] YPos=[" & StringFormat("%4s", $aPos[1]) & "] Width=[" & StringFormat("%4s", $aPos[2]) & "] Height=[" & StringFormat("%4s", $aPos[3]) & "] Text=[" & $text & "]." & @CRLF)
        Else
            ConsoleWrite("Func=[Var_GetAllWindowsControls]: ControlCounter=[" & StringFormat("%3s", $iTotalCounter) & "] ControlID=[" & StringFormat("%5s", $sControlID) & "] Handle=[" & StringFormat("%10s", $hControl) & "] ClassNN=[" & StringFormat("%19s", $iCurrentClass & $iCurrentCount) & "] XPos=[winclosed] YPos=[winclosed] Width=[winclosed] Height=[winclosed] Text=[" & $text & "]." & @CRLF)
        EndIf
        If Not WinExists($hCallersWindow) Then ExitLoop
        $iTotalCounter += 1
    Next
EndFunc
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

Your skript delivers the following informations

Skype main

Func=[Var_GetAllWindowsControls]: ControlCounter=[  1] ControlID=[    0] Handle=[0x00080794] ClassNN=[Internet Explorer_Server1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  2] ControlID=[    0] Handle=[0x00120398] ClassNN=[Shell DocObject View1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  3] ControlID=[591900] Handle=[0x0009081C] ClassNN=[   Shell Embedding1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  4] ControlID=[460804] Handle=[0x00070804] ClassNN=[TAppToolbarControl1] XPos=[   8] YPos=[  41] Width=[ 232] Height=[  48] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  5] ControlID=[657432] Handle=[0x000A0818] ClassNN=[   TBrowserControl1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  6] ControlID=[526354] Handle=[0x00080812] ClassNN=[       TChatBanner1] XPos=[   0] YPos=[   0] Width=[ 668] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  7] ControlID=[1180450] Handle=[0x00120322] ClassNN=[TConversationsControl1] XPos=[   8] YPos=[  89] Width=[ 232] Height=[ 426] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  8] ControlID=[460794] Handle=[0x000707FA] ClassNN=[    TDCEmbedBanner1] XPos=[   0] YPos=[   0] Width=[   0] Height=[  68] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  9] ControlID=[524934] Handle=[0x00080286] ClassNN=[          TDivider1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   1] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 10] ControlID=[460816] Handle=[0x00070810] ClassNN=[          TDivider2] XPos=[   8] YPos=[  36] Width=[ 232] Height=[   5] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 11] ControlID=[656060] Handle=[0x000A02BC] ClassNN=[          TDivider3] XPos=[ 240] YPos=[   0] Width=[   3] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 12] ControlID=[590498] Handle=[0x000902A2] ClassNN=[          TDivider4] XPos=[ 247] YPos=[   0] Width=[   1] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 13] ControlID=[656000] Handle=[0x000A0280] ClassNN=[      TEmptyCanvas1] XPos=[ 248] YPos=[   0] Width=[ 668] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 14] ControlID=[590574] Handle=[0x000902EE] ClassNN=[    TMyselfControl1] XPos=[   8] YPos=[   4] Width=[ 232] Height=[  32] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 15] ControlID=[655968] Handle=[0x000A0260] ClassNN=[        TScrollBar1] XPos=[ -92] YPos=[  89] Width=[  10] Height=[  10] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 16] ControlID=[590526] Handle=[0x000902BE] ClassNN=[    TSkypeSplitter1] XPos=[ 243] YPos=[   0] Width=[   4] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 17] ControlID=[524902] Handle=[0x00080266] ClassNN=[  TZapCommunicator1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].

Skype call

Func=[Var_GetAllWindowsControls]: ControlCounter=[  1] ControlID=[    0] Handle=[0x00130398] ClassNN=[Internet Explorer_Server1] XPos=[ 257] YPos=[  42] Width=[ 650] Height=[ 480] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  2] ControlID=[    0] Handle=[0x00070850] ClassNN=[Shell DocObject View1] XPos=[ 257] YPos=[  42] Width=[ 650] Height=[ 480] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  3] ControlID=[656860] Handle=[0x000A05DC] ClassNN=[   Shell Embedding1] XPos=[ 257] YPos=[  42] Width=[ 650] Height=[ 480] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  4] ControlID=[722968] Handle=[0x000B0818] ClassNN=[   TAccessibleEdit1] XPos=[  37] YPos=[  99] Width=[ 198] Height=[  14] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  5] ControlID=[329762] Handle=[0x00050822] ClassNN=[ TAddContactBanner1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  6] ControlID=[460804] Handle=[0x00070804] ClassNN=[TAppToolbarControl1] XPos=[   8] YPos=[  41] Width=[ 232] Height=[  48] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  7] ControlID=[329610] Handle=[0x0005078A] ClassNN=[   TBrowserControl1] XPos=[ 257] YPos=[  42] Width=[ 650] Height=[ 480] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  8] ControlID=[590490] Handle=[0x0009029A] ClassNN=[           TButton1] XPos=[ 257] YPos=[  42] Width=[  75] Height=[  25] Text=[&Schließen].
Func=[Var_GetAllWindowsControls]: ControlCounter=[  9] ControlID=[852658] Handle=[0x000D02B2] ClassNN=[TCanvasNavigationPanel1] XPos=[ 256] YPos=[   4] Width=[ 652] Height=[  37] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 10] ControlID=[526354] Handle=[0x00080812] ClassNN=[       TChatBanner1] XPos=[   0] YPos=[   0] Width=[ 916] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 11] ControlID=[656032] Handle=[0x000A02A0] ClassNN=[       TChatBanner2] XPos=[   0] YPos=[   0] Width=[ 900] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 12] ControlID=[395366] Handle=[0x00060866] ClassNN=[TChatContentControl1] XPos=[   0] YPos=[ 267] Width=[ 668] Height=[ 181] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 13] ControlID=[657404] Handle=[0x000A07FC] ClassNN=[ TChatEntryControl1] XPos=[   0] YPos=[ 448] Width=[ 668] Height=[  75] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 14] ControlID=[657482] Handle=[0x000A084A] ClassNN=[     TChatRichEdit1] XPos=[ 126] YPos=[ 463] Width=[ 418] Height=[  27] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 15] ControlID=[787188] Handle=[0x000C02F4] ClassNN=[   TContactProfile1] XPos=[   8] YPos=[   4] Width=[ 652] Height=[  37] Text=[ContProf_658].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 16] ControlID=[329834] Handle=[0x0005086A] ClassNN=[ TConversationForm1] XPos=[   0] YPos=[   0] Width=[ 916] Height=[ 523] Text=[Echo / Sound Test Service].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 17] ControlID=[1180450] Handle=[0x00120322] ClassNN=[TConversationsControl1] XPos=[   8] YPos=[  89] Width=[ 232] Height=[ 358] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 18] ControlID=[460794] Handle=[0x000707FA] ClassNN=[    TDCEmbedBanner1] XPos=[   8] YPos=[ 447] Width=[ 232] Height=[  68] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 19] ControlID=[524934] Handle=[0x00080286] ClassNN=[          TDivider1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   1] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 20] ControlID=[460816] Handle=[0x00070810] ClassNN=[          TDivider2] XPos=[   8] YPos=[  36] Width=[ 232] Height=[   5] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 21] ControlID=[656060] Handle=[0x000A02BC] ClassNN=[          TDivider3] XPos=[ 240] YPos=[   0] Width=[   3] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 22] ControlID=[590498] Handle=[0x000902A2] ClassNN=[          TDivider4] XPos=[ 247] YPos=[   0] Width=[   1] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 23] ControlID=[329766] Handle=[0x00050826] ClassNN=[          TDivider5] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 24] ControlID=[329832] Handle=[0x00050868] ClassNN=[          TDivider6] XPos=[   0] YPos=[ 266] Width=[ 668] Height=[   1] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 25] ControlID=[656000] Handle=[0x000A0280] ClassNN=[      TEmptyCanvas1] XPos=[ 248] YPos=[   0] Width=[ 668] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 26] ControlID=[264290] Handle=[0x00040862] ClassNN=[        TFindPanel1] XPos=[   0] YPos=[   0] Width=[   0] Height=[  32] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 27] ControlID=[329822] Handle=[0x0005085E] ClassNN=[TFlamingoUpsellPanel1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 28] ControlID=[590624] Handle=[0x00090320] ClassNN=[   THomeBackground1] XPos=[ 256] YPos=[  41] Width=[ 652] Height=[ 482] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 29] ControlID=[787036] Handle=[0x000C025C] ClassNN=[         THomeForm1] XPos=[ 248] YPos=[   0] Width=[ 668] Height=[ 523] Text=[Skype Home].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 30] ControlID=[1247264] Handle=[0x00130820] ClassNN=[ TLiveConversation1] XPos=[   0] YPos=[   4] Width=[ 916] Height=[ 515] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 31] ControlID=[329828] Handle=[0x00050864] ClassNN=[TLiveConversationPanel1] XPos=[   0] YPos=[   4] Width=[ 916] Height=[ 515] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 32] ControlID=[329820] Handle=[0x0005085C] ClassNN=[   TMSNUpsellPanel1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 33] ControlID=[590574] Handle=[0x000902EE] ClassNN=[    TMyselfControl1] XPos=[   8] YPos=[   4] Width=[ 232] Height=[  32] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 34] ControlID=[329840] Handle=[0x00050870] ClassNN=[TNonLiveCallToolbar1] XPos=[   8] YPos=[ 222] Width=[ 652] Height=[  44] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 35] ControlID=[329772] Handle=[0x0005082C] ClassNN=[    TPostCallPanel1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 36] ControlID=[655968] Handle=[0x000A0260] ClassNN=[        TScrollBar1] XPos=[ -92] YPos=[  89] Width=[  10] Height=[  10] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 37] ControlID=[264306] Handle=[0x00040872] ClassNN=[        TScrollBar2] XPos=[-100] YPos=[ 267] Width=[  10] Height=[  10] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 38] ControlID=[1050566] Handle=[0x001007C6] ClassNN=[        TScrollBar3] XPos=[-100] YPos=[   4] Width=[  10] Height=[  10] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 39] ControlID=[590526] Handle=[0x000902BE] ClassNN=[    TSkypeSplitter1] XPos=[ 243] YPos=[   0] Width=[   4] Height=[ 523] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 40] ControlID=[919670] Handle=[0x000E0876] ClassNN=[    TSkypeSplitter2] XPos=[   0] YPos=[ 209] Width=[ 668] Height=[   4] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 41] ControlID=[329764] Handle=[0x00050824] ClassNN=[    TSkypeSplitter3] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 42] ControlID=[395272] Handle=[0x00060808] ClassNN=[TSmileyButtonPanel1] XPos=[ 527] YPos=[ 464] Width=[  16] Height=[  16] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 43] ControlID=[395136] Handle=[0x00060780] ClassNN=[ TWebAppErrorPanel1] XPos=[ 257] YPos=[  42] Width=[ 650] Height=[ 480] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 44] ControlID=[524902] Handle=[0x00080266] ClassNN=[  TZapCommunicator1] XPos=[   0] YPos=[   0] Width=[   0] Height=[   0] Text=[].
Func=[Var_GetAllWindowsControls]: ControlCounter=[ 45] ControlID=[329824] Handle=[0x00050860] ClassNN=[  TZapCommunicator2] XPos=[   0] YPos=[   0] Width=[ 701] Height=[   0] Text=[].

Skype overlay

Func=[Var_GetAllWindowsControls]: ControlCounter=[  1] ControlID=[788340] Handle=[0x000C0774] ClassNN=[TCallMonitorControl1] XPos=[   0] YPos=[   0] Width=[ 232] Height=[  64] Text=[].

You were right, the classes are there in both stats. But it won't recognize my regex window in any state, this is what really confuses me.

EDIT: There are more classes in Skype main the first time I focus this window

Edited by JessicaD
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...