Jump to content

Probelms with WinSetState


Recommended Posts

It would really depend on what you called with GUICreate().

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to comment
Share on other sites

Why does the @sw_maximize option work only sometimes with WinSetState? Any ideas?

Thanks!

Oaky, here's the code. I left out the ip addresses.

Thanks!

ML

Run("C:\\Program Files\Internet Explorer\\Iexplore.exe nnn.nnn.nnn.n")

WinWaitActive("nnn.nnn.nnn.n: PacketShaper Login")

WinSetState("nnn.nnn.nnn.n: PacketShaper Login","",@sw_maximize)

;Send("{F11}")

Sleep(1000)

Link to comment
Share on other sites

Run("C:\\Program Files\Internet Explorer\\Iexplore.exe nnn.nnn.nnn.n")
WinWait("nnn.nnn.nnn.n: PacketShaper Login")
WinActivate("nnn.nnn.nnn.n: PacketShaper Login")
WinWaitActive("nnn.nnn.nnn.n: PacketShaper Login")
WinSetState("nnn.nnn.nnn.n: PacketShaper Login","",@sw_maximize)
;Send("{F11}")
Sleep(1000)

#)

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