Jump to content

Win7: Howto Find and Select Item/connection in Networking Connection ??


aacable
 Share

Recommended Posts

Hi,

My goal is to open 'Networking Connections' and search for specific connection and select Enter on it to open its properties. I have made the following script, its working under XP, but its not working under Windows 7. What could be the problem. Networking connections window opens, but it do not find or select the connection.

Run ( "rundll32.exe shell32,Control_RunDLL Ncpa.cpl" )
WinWaitActive("Network Connections")
$nic = ControlListView("Network Connections", "", "SysListView321", "FindItem", "aa")
ControlFocus("Network Connections", "", ControlListView("Network Connections", "", "SysListView321", "Select", $nic))
Send("!{Enter}")
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...