Sign in to follow this  
Followers 0
n9mfk9

run @sw__MAXIMIZE?

3 posts in this topic

#1 ·  Posted (edited)

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



#2 ·  Posted (edited)

i think you need to take the @SW_MAXIMIZE out of the quote, its been a while so i could be wrong - but try it

Edited by layer

FootbaG

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  
Followers 0