Jump to content

Navagate directly to File in Windows Explorer


Recommended Posts

I'm in the Control Panel under Network Connections and I want to get to the properties of the Local Area Connection. I know that all new computers have this connection and therefore, the icon will always be there. When the window loads, I want to tell the script to go straight to this connection and highlight it. Currently, I'm saying:

WinWait("WINDOW")
ControlSend("WINDOW","", "blah blah blah {TAB} blah, {RIGHT}{DOWN} blah blah {ENTER}")

Is there a better way to say "I want to go straight to the icon named 'Local Area Connection'?"

Something similar to how I can activate a window by name using WinActivate("WINDOW_NAME")?

Link to comment
Share on other sites

to go to a file in WE, i normally use this

Run('"' & EnvGet('windir') & '\explorer.exe" /select,"' & $FullPathOfFile & '"') ;must have full path for $FullPathOfFile

not sure about control panel though..

Edited by billthecreator

[font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap

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...