Jump to content

Maximizing a window


Recommended Posts

I tried the @SW_MAXIMIZE function but it doesn't seem to work.

Are there any other alternatives?

I got inside my house, leant back on my bed and began to think...where the hell was my roof?!?!24 hours in a day....24 beers in a case....Coincidence??

Link to comment
Share on other sites

Minimize this window and run

WinSetState("Maximizing","",@SW_MAXIMIZE)

This should work for any window. Check that the window title is correct for your window.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

This isn't what I wanted.

I basically wanted to open Notepad and then maximize that window.

I got inside my house, leant back on my bed and began to think...where the hell was my roof?!?!24 hours in a day....24 beers in a case....Coincidence??

Link to comment
Share on other sites

Global $win = "Unbenannt - Editor"

Run("notepad.exe")

WinWaitActive( $win )

WinSetState( $win , "", @SW_MAXIMIZE)

How to think of an autoit script myself by Daniel W. ^^

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Link to comment
Share on other sites

The script works but i can't get it to maximise an Internet explorer window.

Is it possible to do this though?

I got inside my house, leant back on my bed and began to think...where the hell was my roof?!?!24 hours in a day....24 beers in a case....Coincidence??

Link to comment
Share on other sites

Maybe this works with Dale Hohlms IE.au3 file but i dont know

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Link to comment
Share on other sites

Thanks for all the great help.

I've solved the problem.

You guys are great!!!!!

I got inside my house, leant back on my bed and began to think...where the hell was my roof?!?!24 hours in a day....24 beers in a case....Coincidence??

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