moham96 0 Posted October 2, 2014 hi i have i window with a tree of folders what i want to do is to export the names of the folders and the names of the files inside them and then manipulate the names like write the to a text file or just display as text that i can copy i used the windows info and this is the summary : >>>> Window <<<< Title: EaseUS Data Recovery Wizard 8.5 Free Class: EaseUS_DRWUI Position: 183, 14 Size: 1000, 700 Style: 0x94C0004C ExStyle: 0x00050300 Handle: 0x0000000000350B60 >>>> Control <<<< Class: SysTreeView32 Instance: 1 ClassnameNN: SysTreeView321 Name: Advanced (Class): [CLASS:SysTreeView32; INSTANCE:1] ID: 2032 Text: Position: 3, 112 Size: 240, 509 ControlClick Coords: 122, 5 Style: 0x56001037 ExStyle: 0x00000000 Handle: 0x0000000000470468 >>>> Mouse <<<< Position: 306, 161 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< ScrollWnd CoverWnd Preview ScrollWnd CoverWnd >>>> Hidden Text <<<< ScrollWnd CoverWnd ScrollWnd CoverWnd ScrollWnd CoverWnd keep in mind that i'm a newbie in autoit so if some one can help me it would be appreciated Share this post Link to post Share on other sites
Zedna 277 Posted October 2, 2014 (edited) C:Program FilesAutoIt3AutoIt3.chm --> ControlTreeView() or C:Program FilesAutoIt3UDFs3.chm --> GuiTreeView Management Edited October 2, 2014 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Share this post Link to post Share on other sites
moham96 0 Posted October 2, 2014 C:Program FilesAutoIt3AutoIt3.chm --> ControlTreeView() or C:Program FilesAutoIt3UDFs3.chm --> GuiTreeView Management thanks for your reply i tried accessing the treeview example that came with autoit and i did some commands like Expand and GetText but when i tried that on my real window i couldn't get it to work do you have any idea of this issue ?!!! Share this post Link to post Share on other sites
Zedna 277 Posted October 3, 2014 Post your script ... Resources UDF ResourcesEx UDF AutoIt Forum Search Share this post Link to post Share on other sites
moham96 0 Posted October 3, 2014 Post your script ... right now i'm just experimenting so i just created s script that would return the name of an item in the treeview and this is my script #include <GUIConstantsEx.au3> #include <TreeViewConstants.au3> #include <WindowsConstants.au3> $gui = WinGetHandle("[CLASS:EaseUS_DRWUI]") WinActivate("[CLASS:EaseUS_DRWUI]") $h_tree = ControlGetHandle($gui,"","[CLASS:SysTreeView32; INSTANCE:1]") $d = ControlTreeView($gui, "", $h_tree, "GetText", "#1") MsgBox("","",$d) Share this post Link to post Share on other sites