Jump to content

Recommended Posts

Posted

i managed to make it search in tree but is a problem... if exist another folder with name House it stops at first named House (Ex: if in folder Photos exist folder name House it stops there). I want to make it search for House inside Folder Music

 

$hwnd=ControlGetHandle ( "", "", "[CLASS:SysTreeView32]" )

$music = _GUICtrlTreeView_FindItem($hwnd, "Music")

 

If $music Then

$namemusic = _GUICtrlTreeView_GetItemHandle($hwnd, $music)

 

_GUICtrlTreeView_EnsureVisible($hwnd, $namemusic)

 

$prof = _GUICtrlTreeView_FindItem($hwnd, "House", True, $namemusic)

 

_GUICtrlTreeView_EnsureVisible($hwnd, $prof)

 

_GUICtrlTreeView_ClickItem($hwnd, $prof, "left");

sleep(100)

 

 

Who can help me make it search House only inside the Music folder not from the root

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