Jump to content
Sign in to follow this  
n9mfk9

run @sw__MAXIMIZE?

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

Edited by n9mfk9

Share this post


Link to post
Share on other sites

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.

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  

×
×
  • Create New...