Jump to content

Recommended Posts

Posted (edited)

hello,

well like the topic already says, i am looking for some windows classes that are hard to trace (atleast for me). let me explain.

i am making a little fun script for myself where i use WinSetTrans to set trans to all my windows(on windows vista 32bit). with earlier advice from this forum they noticed me that if i don't filter out much of the windows classes that are hidden, the program is sucking up unnecessary performance. I think I got like 98% of them but now I found I didn’t filter a class that is really a thorn in the eye. When I have the program running (so winsettrans lower then 255) I see that when I drag a file the animation of the dragged file turn white. So I need to know what class(es) uses this action. I hope you guys can help me with this one. If correct i added a screenshot from this happening :unsure:

For if you’re asking yourself which classes I already got, here is my list;

MediaPlayerClassicW|WMPlayerApp|Progman|SWT_Window0|SysListView32|BasicWindow|DV2ControlHost|DirectU



IHWND|wxWindowClassNR|iTunes|Start|Button|Desktop User Picture|BasicWindow|Windows Sidebar|SideBar_AppBarWindow|SideBar_AppBarBullet|Internet Explorer_Server|NDesk

Ps: I looked up all the classes in windows side bar but still won’t work :S, so not using windows sidebar no more :P

Posted Image

Edited by lilx
Posted

well that is indeed a good point but know i come up with this problem... the filter script i use in my code. isnt made by me :S, Iam not that good at programming to come up with that :S.

i got it from a guy here on the forum that was nice of him to help me with my idea. Well from the point I started the project a learned a lot but honestly I still dont understand much of his part.

So I just tried to add IsVisible() to the script but I cant get it working. and with not knowing 100 % exactly what the code dos I cant see what I am doing wrong. So I will need to ask help again :P. And I still will need to the filter option in the for application as windows media player and such. Because setting transparency to video in wmp dont work.

This is the part I got that manage the filter.

Func WinCheck()
    AdlibDisable()
    Local $oTemp
    If $aGlobalWin[0] > 0 Then
        For $x = 1 To $aGlobalWin[0]
            Local $SSO = StringSplit($aGlobalWin[$x], ",")
            If WinExists(HWnd($SSO[1])) Then $oTemp &= $aGlobalWin[$x] & "|"
        Next
    EndIf
    If StringTrimRight($oTemp, 1) <> "" Then
        Local $SSP = StringSplit(StringTrimRight($oTemp, 1), "|")
        Dim $aGlobalWin[$SSP[0] + 1]
        $aGlobalWin[0] = $SSP[0]
        For $y = 1 To $SSP[0]
            $aGlobalWin[$y] = $SSP[$y]
        Next
    EndIf   
    Local $aWin = WinList(), $cTemp
    For $w = 1 To $aWin[0][0]
        If $aWin[$w][0] <> "" And WinFilter($aWin[$w][1]) And (Not StringInStr($oTemp, $aWin[$w][1] )) Then 
            ReDim $aGlobalWin[$aGlobalWin[0] + 2]
            $aGlobalWin[0] += 1
            $aGlobalWin[$aGlobalWin[0]] = $aWin[$w][1] & ",255"
        EndIf   
    Next
    For $i = 1 To $aGlobalWin[0]
        If StringTrimLeft($aGlobalWin[$i], 11) <> $trans Then
            WinSetTrans(HWnd(StringLeft($aGlobalWin[$i], 10)), "", $trans)
            $aGlobalWin[$i] = StringLeft($aGlobalWin[$i], 11) & $trans
        EndIf
    Next
    AdlibEnable("WinCheck", 150)
EndFunc

Func WinFilter($iHandle)
    If Not BitAnd(WinGetState($iHandle), 2) Then Return 0
    For $j = 1 To $SSEC[0]
        If (WinGetTitle($iHandle) == WinGetTitle("[CLASS:" & $SSEC[$j] & "]")) Then Return 0
    Next
    Return 1
EndFunc
Posted

It's not a very good algorithm. Let me get back to you on that in one or two hours.

You can do a lot more with WinGetState. Try to check for at least these four parameters:

1 = Window exists

2 = Window is visible

4 = Window is enabled

8 = Window is active

well i am glad you would like to help me on this one ;, because this part has really been the thorn in my eyes of this project for me and with the solution of this problem, i can compile my code as we speak :P.

and I have been looking in the help to and I to went looking in WinGetState, as well as _WinAPI_IsWindowVisible, but with my lack of knowledge I cant seem to think of a algorithm for it.

Posted

hi,

sorry to ask but did you find something that can help me?

Don't rush it bro...I think Manadar will give you a good script. Sometimes it DOES take a while for something to come out good :P
Posted (edited)

Sometimes it DOES take a while for something to come out good :P

Exactly. Stupid SysListView32 control. I am digging into WinAPI now trying to figure something out.

Edit: Filtering on class name might not even be a bad idea. At least not as bad as I initially thought.

Edited by Manadar
Posted

hello,

well sorry to seem so rushed, but i am really tryin to figure out this thing for a while know. and then knowing the manadar can maybe come with the solution makes me really hyper when i think about it.

but so far you think that filtering classes isn't a bad idea?

how do you find out or look into winapi? maybe i can do some reading or some searching 2 (h)

Posted

thx for the advice will look into it, but i was thinking of a method that maybe will work...

here is my idea; can't you use winlist put the returned value in a array list. so there will come a list from all the program and classes used at the moment. tried this to. but i can't be able to add the class names to the array. So maybe adding a script that will look up the class name?

and like i said i am not a pro in autoit, so maybe its just a silly idea

Posted

I really am not clear what you want but will take a stab at it.

here are common class names you can get from the info tool

Opera OpWindow

Explorer CabinetWClass

Notepad Notepad

Notepad++ Notepad++

IExplorer IEFrame

Task Manager #32770

Frostwire SunAwtFrame

Miro MozillaUIWindowClass

Skype tSkMainForm.UnicodeClass

AVG Avg8WndClass_UI

Spybot TformMain

Winamp BaseWindow_RootWnd

Samurize TClientForm

Tuxpaint SDL_app

Scitech SciTEWindow

HTA HTML Application Host Window Class

Abiword AbiWord

OOCalc SALFRAME

SeoNote Afx:00400000:b:00010003:00000006:DBE8031D

Adobe AcrobatSDIWindow

VLC wxWindowClassNR

Jzip ATL:00654E98

Desktop Progman

here is a for next loop which will get you class of visible windows using an exclusion list to augment. It's not pretty but it seems like you are in a rush. Is this what you want?

#include <Array.au3>

#include <Winapi.au3>

$sExclude_List = "Start[CL:102939]|Start|Desktop|Start Menu[CL:102938]|desktop[CL:102937]|Program Manager|taskbar|Menu"

$WinList = WinList()

dim $WinList2[$WinList[0][0]][1]

$count=0

For $i = 1 To $WinList[0][0]

If $WinList[$i][0] = "" Or Not BitAND(WinGetState($WinList[$i][1]), 2) Then ContinueLoop

If Not StringInStr($sExclude_List, "|" & $WinList[$i][0] & "|") Then

$classed = _WinAPI_GetClassName($WinList[$i][1])

$WinList2[$i][0] = "[CLASS:"&$classed&"]"

$count=1+$count

EndIf

Next

_ArraySort($WinList2, 1, 1, $WinList[0][0], 0)

_ArrayDisplay($WinList2)

Posted

@ piccea892 thanks for the help :D. the script you posted didn't do exactly what i wanted but your script broth me to a other idea

So I made this code(not very clean):

#include <Array.au3>
#include <Winapi.au3>

Opt("SendKeyDelay", 2)       ;5 milliseconds
Opt("SendKeyDownDelay", 1) 

$var = WinList()
_ArrayDisplay($var)
WinWaitActive("Naamloos - Kladblok")
Sleep ( 1000 )
For $i = 1 To $var[0][0]
    $text = _WinAPI_GetClassName($var[$i][1])
    Send("number: " & $i & " Window Title: " & $var[$i][0] & "{TAB}" & "{TAB}" & "class: " & $text)
    WinActivate("Naamloos - Kladblok", "")
    Send("{Enter}")
Next
_ArrayDisplay($var)

So now if I am correct I have all the classes names that are used on the current time the script started.

And I did run my script in save mode and regular mode. And I come up with this list (btw, I am running vista Dutch version so somethings may be different or in Dutch)

Hope you guys can tell if this list is of use?

[b]This was in save mode:[/b]
number: 1 Window Title: SciTE interface class: AutoIt v3 GUI
number: 2 Window Title:  class: tooltips_class32
number: 3 Window Title:  class: tooltips_class32
number: 4 Window Title:  class: tooltips_class32
number: 5 Window Title:  class: tooltips_class32
number: 6 Window Title:  class: tooltips_class32
number: 7 Window Title:  class: tooltips_class32
number: 8 Window Title: CiceroUIWndFrame class: CiceroUIWndFrame
number: 9 Window Title:  class: ThumbnailStackClass
number: 10 Window Title:  class: ThumbnailStackClass
number: 11 Window Title:  class: ThumbnailStackClass
number: 12 Window Title:  class: ThumbnailClass
number: 13 Window Title:  class: tooltips_class32
number: 14 Window Title: Start class: Button
number: 15 Window Title:  class: Shell_TrayWnd
number: 16 Window Title:  class: tooltips_class32
number: 17 Window Title: Adrianus class: Desktop User Picture
number: 18 Window Title:  class: tooltips_class32
number: 19 Window Title:  class: tooltips_class32
number: 20 Window Title:  class: tooltips_class32
number: 21 Window Title:  class: tooltips_class32
number: 22 Window Title: Menu Start class: DV2ControlHost
number: 23 Window Title:  class: tooltips_class32
number: 24 Window Title: Netwerk-flyout class: ATL:72AB31A0
number: 25 Window Title:  class: tooltips_class32
number: 26 Window Title:  class: tooltips_class32
number: 27 Window Title: AutoIt v3 class: AutoIt v3
number: 28 Window Title: AutoIt v3 class: AutoIt v3
number: 29 Window Title: AutoIt v3 class: AutoIt v3
number: 30 Window Title:  class: tooltips_class32
number: 31 Window Title:  class: tooltips_class32
number: 32 Window Title: C:\Users\Adrianus\Desktop\Nieuw - AutoIt v3 Script.au3 - SciTE class: SciTEWindow
number: 33 Window Title:  class: tooltips_class32
number: 34 Window Title: AutoIt Help class: HH Parent
number: 35 Window Title:  class: WorkerW
number: 36 Window Title:  class: Internet Explorer_Hidden
number: 37 Window Title:  class: HH_API
number: 38 Window Title: AutoIt3Help class: AutoIt3 Help
number: 39 Window Title: DirectorExtension class: DirectorExtension
number: 40 Window Title: SciTE_SingleThreadExtension_Dispatcher class: Static
number: 41 Window Title: HiddenFaxWindow class: FaxMonWinClass3
number: 42 Window Title: BluetoothNotificationAreaIconWindowClass class: BluetoothNotificationAreaIconWindowClass
number: 43 Window Title:  class: SecNotify
number: 44 Window Title: MS_WebcheckMonitor class: MS_WebcheckMonitor
number: 45 Window Title:  class: DreamTriggers
number: 46 Window Title:  class: PNIHiddenWnd
number: 47 Window Title:  class: ATL:72C0B0D0
number: 48 Window Title: MMDEVAPI Device Window class: MMDEVAPI
number: 49 Window Title:  class: WorkerW
number: 50 Window Title: Accumeter class: SystemTray_Main
number: 51 Window Title:  class: WorkerW
number: 52 Window Title:  class: WorkerW
number: 53 Window Title:  class: AUTHUI.DLL: Shutdown Choices Message Window
number: 54 Window Title:  class: tooltips_class32
number: 55 Window Title:  class: WorkerW
number: 56 Window Title:  class: WorkerW
number: 57 Window Title:  class: WorkerW
number: 58 Window Title:  class: DDEMLEvent
number: 59 Window Title:  class: DDEMLMom
number: 60 Window Title: GDI Window class: GDI Hook Window Class
number: 61 Window Title: Naamloos - Kladblok class: Notepad
number: 62 Window Title: Program Manager class: Progman
number: 63 Window Title: MSCTFIME UI class: MSCTFIME UI
number: 64 Window Title: Default IME class: IME
number: 65 Window Title: Default IME class: IME
number: 66 Window Title: Default IME class: IME
number: 67 Window Title: Default IME class: IME
number: 68 Window Title: Default IME class: IME
number: 69 Window Title: MSCTFIME UI class: MSCTFIME UI
number: 70 Window Title: Default IME class: IME
number: 71 Window Title: MSCTFIME UI class: MSCTFIME UI
number: 72 Window Title: Default IME class: IME
number: 73 Window Title: Default IME class: IME
number: 74 Window Title: Default IME class: IME
number: 75 Window Title: Default IME class: IME
number: 76 Window Title: Default IME class: IME
number: 77 Window Title: Default IME class: IME
number: 78 Window Title: Default IME class: IME
number: 79 Window Title: Default IME class: IME
number: 80 Window Title: Default IME class: IME
number: 81 Window Title: MSCTFIME UI class: MSCTFIME UI
number: 82 Window Title: Default IME class: IME
number: 83 Window Title: MSCTFIME UI class: MSCTFIME UI
number: 84 Window Title: Default IME class: IME

[b]This was in regular mode:[/b]
number: 1 Window Title: SciTE interface     class: AutoIt v3 GUI
number: 2 Window Title:         class: tooltips_class32
number: 3 Window Title:         class: UltraMonDeskTaskBar
number: 4 Window Title:         class: tooltips_class32
number: 5 Window Title:         class: tooltips_class32
number: 6 Window Title:         class: tooltips_class32
number: 7 Window Title:         class: tooltips_class32
number: 8 Window Title: CiceroUIWndFrame        class: CiceroUIWndFrame
number: 9 Window Title:         class: ThumbnailStackClass
number: 10 Window Title:        class: ThumbnailStackClass
number: 11 Window Title:        class: ThumbnailStackClass
number: 12 Window Title:        class: ThumbnailClass
number: 13 Window Title:        class: tooltips_class32
number: 14 Window Title:        class: tooltips_class32
number: 15 Window Title: Start      class: Button
number: 16 Window Title:        class: Shell_TrayWnd
number: 17 Window Title:        class: tooltips_class32
number: 18 Window Title: Adrianus       class: Desktop User Picture
number: 19 Window Title:        class: tooltips_class32
number: 20 Window Title:        class: tooltips_class32
number: 21 Window Title:        class: tooltips_class32
number: 22 Window Title:        class: tooltips_class32
number: 23 Window Title:        class: tooltips_class32
number: 24 Window Title: Menu Start     class: DV2ControlHost
number: 25 Window Title:        class: tooltips_class32
number: 26 Window Title: Tussen taken schakelen     class: TaskSwitcherWnd
number: 27 Window Title: Netwerk-flyout     class: ATL:6DED31A0
number: 28 Window Title:        class: tooltips_class32
number: 29 Window Title:        class: tooltips_class32
number: 30 Window Title: CiceroUIWndFrame       class: CiceroUIWndFrame
number: 31 Window Title: TF_FloatingLangBar_WndTitle        class: CiceroUIWndFrame
number: 32 Window Title: Copperhead On-the-Fly Sensitivity      class: Copperhead On-the-Fly Sensitivity
number: 33 Window Title: AutoIt v3      class: AutoIt v3
number: 34 Window Title: AutoIt v3      class: AutoIt v3
number: 35 Window Title: AutoIt v3      class: AutoIt v3
number: 36 Window Title:        class: tooltips_class32
number: 37 Window Title:        class: tooltips_class32
number: 38 Window Title:        class: UltraMonWndExt
number: 39 Window Title: C:\Users\Adrianus\Desktop\Nieuw - AutoIt v3 Script.au3 - SciTE     class: SciTEWindow
number: 40 Window Title:        class: UltraMonWndExt
number: 41 Window Title: Naamloos - Kladblok        class: Notepad
number: 42 Window Title:        class: WorkerW
number: 43 Window Title:        class: ConsoleIMEClass
number: 44 Window Title: DirectorExtension      class: DirectorExtension
number: 45 Window Title: SciTE_SingleThreadExtension_Dispatcher     class: Static
number: 46 Window Title: CopperheadTrayIcon     class: Afx:400000:0
number: 47 Window Title:        class: WindowsSideShowPnPEventWindow
number: 48 Window Title: SessionAgent       class: WindowsSideShowServices
number: 49 Window Title: BluetoothNotificationAreaIconWindowClass       class: BluetoothNotificationAreaIconWindowClass
number: 50 Window Title: HiddenFaxWindow        class: FaxMonWinClass3
number: 51 Window Title:        class: SecNotify
number: 52 Window Title: MS_WebcheckMonitor     class: MS_WebcheckMonitor
number: 53 Window Title:        class: PNIHiddenWnd
number: 54 Window Title:        class: ATL:6E1CB0D0
number: 55 Window Title: MMDEVAPI Device Window     class: MMDEVAPI
number: 56 Window Title:        class: WorkerW
number: 57 Window Title: Accumeter      class: SystemTray_Main
number: 58 Window Title: DDE Server Window      class: OleDdeWndClass
number: 59 Window Title:        class: DreamTriggers
number: 60 Window Title: $$LCDPOP3$$        class: 2770
number: 62 Window Title: 2e8        class: QTIdle: 2e8
number: 63 Window Title: LCDCountdown       class: Afx:00400000:b:00010005:00000006:00030259
number: 64 Window Title: Realtime Soft UltraMon Taskbar Message Sink        class: UltraMonDeskTaskBarManager
number: 65 Window Title: Logitech LCDMedia Invisible Dialog     class: 2770
number: 67 Window Title: MediaCenter        class: NVMediaCenter
number: 68 Window Title:        class: RunDLL
number: 69 Window Title: LCDClock       class: Afx:00400000:0
number: 70 Window Title: UltraMon       class: UltraMon App
number: 71 Window Title: Windows Media Player Network Sharing-service       class: ATL:00769018
number: 72 Window Title:        class: tooltips_class32
number: 73 Window Title:        class: ComboLBox
number: 74 Window Title: Standaardconfiguratie - Script     class: Script Window Class Name
number: 75 Window Title: Toetsenbord-profiler van Logitech G-series     class: LGDCore_LGDCore_1_0
number: 76 Window Title: LCDMon     class: Logitech LCD Monitor Window
number: 77 Window Title: HelperMsgListenerWnd       class: HelperMsgListenerWndCls
number: 78 Window Title:        class: ATL:00406018
number: 79 Window Title: CopperheadHid      class: Afx:400000:0
number: 80 Window Title:        class: WorkerW
number: 81 Window Title:        class: WorkerW
number: 82 Window Title: NvSvc      class: NVSVC.DLL
number: 83 Window Title:        class: AUTHUI.DLL: Shutdown Choices Message Window
number: 84 Window Title:        class: tooltips_class32
number: 85 Window Title:        class: ComboLBox
number: 86 Window Title:        class: WorkerW
number: 87 Window Title:        class: WorkerW
number: 88 Window Title: MCI command handling window        class: 3
number: 89 Window Title:        class: WorkerW
number: 90 Window Title:        class: DDEMLEvent
number: 91 Window Title:        class: DDEMLMom
number: 92 Window Title: HotStartUAWindowClass      class: HotStartUAWindowClass
number: 93 Window Title: TaskEng - Task Scheduler Engine Process        class: TASKENGINEWINDOWCLASS
number: 94 Window Title: DWM Notification Window        class: Dwm
number: 95 Window Title:        class: CicLoaderWndClass
number: 96 Window Title: GDI Window     class: GDI Hook Window Class
number: 97 Window Title: GDI Window     class: GDI Hook Window Class
number: 98 Window Title: GDI Window     class: GDI Hook Window Class
number: 99 Window Title: GDI Window     class: GDI Hook Window Class
number: 100 Window Title:       class: tooltips_class32
number: 101 Window Title: Windows Defender      class: msascui_class
number: 102 Window Title: GDI Window        class: GDI Hook Window Class
number: 103 Window Title: GDI Window        class: GDI Hook Window Class
number: 104 Window Title:       class: NDesk
number: 105 Window Title: Program Manager       class: Progman
number: 106 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 107 Window Title: Default IME       class: IME
number: 108 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 109 Window Title: Default IME       class: IME
number: 110 Window Title: Default IME       class: IME
number: 111 Window Title: Default IME       class: IME
number: 112 Window Title: Default IME       class: 
number: 113 Window Title: Default IME       class: IME
number: 114 Window Title: Default IME       class: IME
number: 115 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 116 Window Title: Default IME       class: IME
number: 117 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 118 Window Title: Default IME       class: IME
number: 119 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 120 Window Title: Default IME       class: IME
number: 121 Window Title: Default IME       class: IME
number: 122 Window Title: Default IME       class: IME
number: 123 Window Title: Default IME       class: IME
number: 124 Window Title: Default IME       class: IME
number: 125 Window Title: Default IME       class: IME
number: 126 Window Title: Default IME       class: IME
number: 127 Window Title: Default IME       class: IME
number: 128 Window Title: Default IME       class: IME
number: 129 Window Title: Default IME       class: IME
number: 130 Window Title: Default IME       class: IME
number: 131 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 132 Window Title: Default IME       class: IME
number: 133 Window Title: Default IME       class: IME
number: 134 Window Title: Default IME       class: IME
number: 135 Window Title: Default IME       class: IME
number: 136 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 137 Window Title: Default IME       class: IME
number: 138 Window Title: Default IME       class: IME
number: 139 Window Title: Default IME       class: IME
number: 140 Window Title: Default IME       class: IME
number: 141 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 142 Window Title: Default IME       class: IME
number: 143 Window Title: Default IME       class: IME
number: 144 Window Title: Default IME       class: IME
number: 145 Window Title: Default IME       class: IME
number: 146 Window Title: Default IME       class: IME
number: 147 Window Title: Default IME       class: IME
number: 148 Window Title: Default IME       class: IME
number: 149 Window Title: Default IME       class: IME
number: 150 Window Title: Default IME       class: IME
number: 151 Window Title: Default IME       class: IME
number: 152 Window Title: Default IME       class: IME
number: 153 Window Title: Default IME       class: IME
number: 154 Window Title: Default IME       class: IME
number: 155 Window Title: Default IME       class: IME
number: 156 Window Title: Default IME       class: IME
number: 157 Window Title: Default IME       class: IME
number: 158 Window Title: Default IME       class: IME
number: 159 Window Title: MSCTFIME UI       class: MSCTFIME UI
number: 160 Window Title: Default IME       class: IME
number: 161 Window Title: Default IME       class: IME
Posted

Hello guys,

Well, i am happy to report i found my problem and solved it :D. With my earlier script where I logged all the classes currently used on the computer helped me a lot. Well I found out that the action Drag in windows dont use a class it just write a value in the memory with no class used (at least I think). That why I just couldnt filter it and couldnt find the class :D

number: 15 Window Title: Drag class: 
[15]|Drag|0x00110492

because this option dont uses no class I just needed to at to the winfilter option just a wintitle option. Whit that added I fixed the problem :o

this is how my filter finally finished

Func WinCheck()
    AdlibDisable()
    Local $oTemp
    If $aGlobalWin[0] > 0 Then
        For $x = 1 To $aGlobalWin[0]
            Local $SSO = StringSplit($aGlobalWin[$x], ",")
            If WinExists(HWnd($SSO[1])) Then $oTemp &= $aGlobalWin[$x] & "|"
        Next
    EndIf
    If StringTrimRight($oTemp, 1) <> "" Then
        Local $SSP = StringSplit(StringTrimRight($oTemp, 1), "|")
        Dim $aGlobalWin[$SSP[0] + 1]
        $aGlobalWin[0] = $SSP[0]
        For $y = 1 To $SSP[0]
            $aGlobalWin[$y] = $SSP[$y]
        Next
    EndIf   
    Local $aWin = WinList(), $cTemp
    For $w = 1 To $aWin[0][0]
        If $aWin[$w][0] <> "" And WinFilter($aWin[$w][1]) And (Not StringInStr($oTemp, $aWin[$w][1] )) Then 
            ReDim $aGlobalWin[$aGlobalWin[0] + 2]
            $aGlobalWin[0] += 1
            $aGlobalWin[$aGlobalWin[0]] = $aWin[$w][1] & ",255"
        EndIf   
    Next
    For $i = 1 To $aGlobalWin[0]
        If StringTrimLeft($aGlobalWin[$i], 11) <> $trans Then
            WinSetTrans(HWnd(StringLeft($aGlobalWin[$i], 10)), "", $trans)
            $aGlobalWin[$i] = StringLeft($aGlobalWin[$i], 11) & $trans
        EndIf
    Next
    AdlibEnable("WinCheck", 150)
EndFunc

Func WinFilter($iHandle)
    If Not BitAnd(WinGetState($iHandle), 2) Then Return 0
    For $j = 1 To $SSEC[0] 
        If (WinGetTitle($iHandle) == WinGetTitle("[CLASS:" & $SSEC[$j] & "]"))  Then Return 0
    Next
    For $3rd = 1 To $SSEC1[0]
        If (WinGetTitle($iHandle) == WinGetTitle($SSEC1[$3rd])) Then Return 0
    Next
    Return 1
EndFunc

I am very thankful for the help and my problem is finally solved :P

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...