Jump to content

run @sw__MAXIMIZE?


n9mfk9
 Share

Recommended Posts

Hi all this will run but not MAXIMIZE

Run("c:\windows\system32\RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl,@SW_MAXIMIZE")
what did i miss?

thanks beau

This is the only way I could get it to work. Not a very efficent way, but I couldn't come up with anything else.

Run("c:\windows\system32\RunDll32.exe shell32.dll, Control_RunDLL ncpa.cpl")
WinWaitActive("Network Connections", "")
WinSetState("Network Connections", "", @SW_MAXIMIZE)
Live and Learn, 'cause Knowledge is Super Power.
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...