Sign in to follow this  
Followers 0
Ursie

How to maximize

8 posts in this topic

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

Share this post


Link to post
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

Share this post


Link to post
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)

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Can;t you juse use WinActivate("Untitled - Notepad", "") and put what ever site he wants in-place?

Share this post


Link to post
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
Sign in to follow this  
Followers 0