Jump to content

Recommended Posts

Posted

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]

Posted

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)

Posted

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)

#)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...