pelegw

Choosing item on file explorer

4 posts in this topic

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!

Share this post


Link to post
Share on other sites



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


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#4 ·  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

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