Jump to content
Sign in to follow this  
Navar

How to start the Network Connection Wizrd

Recommended Posts

Navar

Hi Guys,

I'm new to AutoIT and would appreciate it if someone could explain to me how to start the New Connection Wizard in Network connections using AutoIT?

Thanks

Nvr

Share this post


Link to post
Share on other sites
herewasplato

...how to start the New Connection Wizard in Network connections using AutoIT?

Run("rundll32.exe shell32.dll,Control_RunDLL ncpa.cpl")
WinWait("Network Connections", "Network Connections")
WinActivate("Network Connections", "Network Connections")
WinWaitActive("Network Connections", "Network Connections")
Send("!fn")
Edited code a bit Edited by herewasplato

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

Share this post


Link to post
Share on other sites
Navar

Thanks heaps mate - you have just made my life 10x easier :lmao:

Share this post


Link to post
Share on other sites
herewasplato

Thanks heaps mate - you have just made my life 10x easier :lmao:

Great!

I changed one line of the code above...


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

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  

×