Sign in to follow this  
Followers 0
Spongey

Probelms with WinSetState

6 posts in this topic

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

Thanks!

Share this post


Link to post
Share on other sites



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

Thanks!

Welcome to the forums.

You might want to post the code that you are having trouble with.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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)

Share this post


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

Share this post


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

#)

Share this post


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

That should take care of that prob.

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