Jump to content

Recommended Posts

Posted

Hey all,

I've been trying to click on the "Netork" tab in the systreeview on file explorer/my computer.

I need my script to work on different computers and operations system, so I had some ideas:

  1.  Some API that allows me to click an item on this list by it's text.
  2.  Using TAB and DOWN to get there. But, for this option I need a way to know the text of the currently 'hovered' item, so I'll know when to stop sending TABs/DOWNs.
  3. Any other API that allows me to go over all the items in the systreeview.

Any idea on how to do that?

Code examples will be great.

Thanks!

  • Moderators
Posted

@pelegw welcome to the forum. Perhaps you could explain what exactly you're trying to accomplish. Most often, automating the GUI, especially in Explorer, is not necessary to accomplish what you're after.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

In this case, I've got no other choice.

My start point is the File Explorer window, and I need to specifically click on the "Network" item.

ncpa.cpl of any of these won't help me..

Posted (edited)

@JLogan3o13 asked you to explain what you are trying to accomplish, because there is a lot of chances that the automation of the explorer os not necessary. So explain us what you want to do, someone will probably have a solution.

Edited by jguinch

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
×
×
  • Create New...