Jump to content

Recommended Posts

Posted

Hi

Below is my script but how to run IE with maximize window ? Thx in advance...

For $i = 137 To 140 Step 1

Local $oIE = _IECreate("https://172.25.70." & $i & ":9443/Workplace/")
$oIE = _IEAttach("Sign")
Local $bbb = _IEPropertyGet($oIE, "title")

If $bbb = "Google1" Then
    MsgBox($MB_SYSTEMMODAL, "IP " & $i, "Not OK")
    Send("!{F4}")
Else
    MsgBox($MB_SYSTEMMODAL, "IP " & $i, "OK")
    Send("!{F4}")
 EndIf

 Next

 

Posted (edited)

Did you try to use:

dWinSetState

??

 

EDIT: in IE11 or in EDGE you can use this: requestFullscreen method

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 11/30/2015 at 12:01 PM, Chimp said:
_IEPropertySet($oIE, "theatermode", True)

 

It's worked... Thx

  On 11/30/2015 at 10:56 AM, mLipok said:

Did you try to use:

dWinSetState

??

 

EDIT: in IE11 or in EDGE you can use this: requestFullscreen method

 

Not sure whether my script is correct or not but "WinSetState" isn't working. BTW, my office desktop is using IE8. Thx anyway...

Posted
  On 11/30/2015 at 12:01 PM, Chimp said:
_IEPropertySet($oIE, "theatermode", True)

I forgot about this.
Thanks for reminding me.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

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