Jump to content

Only Object-type variables allowed in a "With" statement


Recommended Posts

Hello,

on every 5th / 6th call following error-message appear:

Only Object-type variables allowed in a "With" statement

 

What is wrong in my script ?? compile x86 / ver 3.3.14.2

 

#include <IE.au3>

Dim $oIE = _IECreate('about:blank', 0, 0)

With $oIE
    .Left = 0
    .Top = 0
    .Menubar = False
    .Resizable = True
    .StatusBar = False
    .TheaterMode = False
    .Toolbar = False
    .Visible = True
EndWith

WinSetState(_IEPropertyGet($oIE, "hwnd"), "", @SW_MAXIMIZE)

_IENavigate($oIE, 'http://aeneis-01:23000/CMS/LSW_Portal')

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...