Hi,
ich möchte den Explorer öffnen und auf die linke Hälfte des Bildschirms schieben.
Leider wird er nicht nach ganz links oben geschoben.
Erst fängt nun bei x = 7 an.
Unter Win 7 hats es noch funktioniert.
Code
#Region ;************ Includes ************
#Include <WinAPIShPath.au3>
#EndRegion ;************ Includes ************
$sPfad_explorer_tmp = "C:\"
Run("explorer.exe /N,/E," & $sPfad_explorer_tmp, "", @SW_MAXIMIZE)
If StringLen($sPfad_explorer_tmp) = 3 Then
$sTitel_tmp = "(" & StringMid($sPfad_explorer_tmp, 1, 2) & ") " & DriveGetLabel($sPfad_explorer_tmp)
Else
$sPfad_explorer_tmp = _WinAPI_PathRemoveBackslash($sPfad_explorer_tmp)
$aSplit_explorer = StringSplit($sPfad_explorer_tmp, "\")
$sTitel_tmp = $aSplit_explorer[UBound($aSplit_explorer) - 1]
EndIf
$sExplorer_titel_1 = "[REGEXPCLASS:^(Explore|Cabinet)WClass$" & "; TITLE:" & $sTitel_tmp & "]"
WinWait($sExplorer_titel_1)
$hExplorer_1 = WinGetHandle($sExplorer_titel_1)
WinMove($hExplorer_1, "", 0, 0, @DesktopWidth / 2, @DesktopHeight)
Alles anzeigen
Die Maus steht bei x = 7
Das Fenster soll angeblich bei x = 0 stehen.
Ist das normal?
Ist das Fenster immer um 7 verschoben?