Jump to content

How to maximize


Ursie
 Share

Recommended Posts

Hello,

First of all AutoIT ROCKS.

Second I am trying to get a IE Window maximized. This IE Window has been created with the UDF Function _IECreate so I have a object handle to the window already. But I don't know how I can tell this window to get maximized.

Thnx for the help

Link to comment
Share on other sites

Hi,

one way:

WinSetState ( "title", "text", flag )

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi,

one way:

WinSetState ( "title", "text", flag )

So long,

Mega

Tried that already but WinSetState doesn't allow me to get attached to the 2nd created window with _IECreate. WinSetState can only attach to the Main window.

So that trick doesn't help me ( from what i have tried)

Link to comment
Share on other sites

Hi,

Showing your code might help.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Tried that already but WinSetState doesn't allow me to get attached to the 2nd created window with _IECreate. WinSetState can only attach to the Main window.

So that trick doesn't help me ( from what i have tried)

Found the problem already. WinSetState did the trick on th end.

I had to use _IELoadWait before I could use WinSetState. The name of the browser window wasn't yet created because of the page load time so the WinSetState function couldn't find that window.

Thnx

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