Browserfenster maximieren geht nicht mehr

  • Was mache ich falsch. Der IE sollte doch damit das Fenster maximieren?
    Hat er schon mal, aber jetzt macht er's nicht mehr.

    SQL
    #include <IE.au3>
    $oIE = _IECreate ("http://www.google.de/", 0,  1, 1, 0)
    WinSetState ($oIE, "", @SW_MAXIMIZE )

    Hat wer einen Tipp für mich?
    Danke

  • Hallo gaggi,

    mach es doch so:

    [autoit]

    #include <IE.au3>
    $oIE = _IECreate ("http://www.google.de/", 0, 1, 1, 0)
    _IEPropertySet ($oIE, "width",@DesktopWidth)
    _IEPropertySet ($oIE, "height",@DesktopHeight)
    _IEPropertySet ($oIE, "left",0)
    _IEPropertySet ($oIE, "top",0)
    _IEPropertySet ($oIE, "theatermode",true)

    [/autoit]

    mfg (Auto)Bert