Hallo Leute ich habe eine GUI die ich in nur der Taskleiste ausblenden will, das Fenster soll weiterhin sichtbar bleiben.
Hab da auch ein schönes Script von SmOke_N auf autoitscript.com gefunden. Da dieser Thread aber von 2006 ist konnte mir da keiner Weiterhelfen.
Spoiler anzeigen
Dim $WinArray = ''
HotKeySet('{PGDN}', 'HideTaskBarWindows')
HotKeySet('{PGUP}', 'UnHideTaskBarWindows')
While 1
Sleep(0x7FFFFFFF)
WEnd
Func HideTaskBarWindows()
$WinArray = ''
Local $winlistx = WinList()
For $winlistxi = 1 to $winlistx[0][0]
If ControlCommand($winlistx[$winlistxi][0], '', '', 'IsVisible', '') And Not StringInStr($winlistx[$winlistxi][0], 'Program Manager') Then $WinArray = $WinArray & $winlistx[$winlistxi][0] & Chr(01)
Next
$WinArray = StringSplit(StringTrimRight($WinArray, 1), Chr(01))
For $i = 1 To UBound($WinArray) - 1
ControlHide($WinArray[$i], '', '')
Next
EndFunc
Func UnHideTaskBarWindows()
For $i = 1 To UBound($WinArray) - 1
ControlShow($WinArray[$i], '', '')
Next
EndFunc
Ich will aber das es nur für ein Fenster permanent ohne Knopfdruck ausgeblendet wird.
Hab auch schon damit rumgespielt, aber komme nicht so recht weiter.
Bei mir wird auch das Fenster mit ausgeblendet.
Spoiler anzeigen
Local $winlistx = WinList("Google") ;Soll zum Test den InternetExplorer mit der Bezeichnung Google ausblenden
For $winlistxi = 1 to $winlistx[0][0]
If ControlCommand($winlistx[$winlistxi][0], '', '', 'IsVisible', '') Then $WinArray = $winlistx[$winlistxi][0] & Chr(01)
Next
$WinArray = StringSplit(StringTrimRight($WinArray, 1), Chr(01))
For $i = 1 To UBound($WinArray) - 1
ControlHide($WinArray[$i], '', '')
Next
Exit
[/autoit]Könnt Ihr mir helfen!