DarkBoost Posted December 29, 2009 Share Posted December 29, 2009 I can not seem to find a feature within AutoIT which allows you to add an Explorer style file listing and wondering if there is a feature which does exist or is this a manual creation using GUICtrlCreateTree or calling DLL files etc. Any suggestions would be greatly appreciated. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 29, 2009 Moderators Share Posted December 29, 2009 DarkBoost,You will have to write your own function, I am afraid. I had a go at this some time ago and gave up after a while. KaFu did a lot of work on a tree structure like this in his SMF utility (which you can find here) but I found it quite difficult to follow his code. That is not a criticism of his coding, it is just that the whole script is so integrated there were far too many variables popping into the tree-building code from elsewhere to follow it easily. There are some other attempts scattered over the forum, but none as satisfactory as KaFu's. In the end I decided to drop the whole idea and use the built-in FileSelectFolder and FileOpenDialog functions instead - that was enough for my purposes, given the amount of time it would have taken to develop my own tree structure function. Sorry I cannot be of more help.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Mat Posted December 29, 2009 Share Posted December 29, 2009 (edited) Is it so long ago that you don't remember this topic Melba?? I think the result was ok... http://www.autoitscript.com/forum/index.php?showtopic=105121 Edit: heres an example of something similar (with the registry) that actually worked: http://www.autoitscript.com/forum/index.php?showtopic=105321 Edited December 29, 2009 by Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 29, 2009 Moderators Share Posted December 29, 2009 Mat, You are quite correct - I thought the OP was asking about a user-drawn tree which is a whole different kettle of fish. You will be pleased to hear that I have an optician's appontment soon. Thanks for the interjection. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
DarkBoost Posted December 29, 2009 Author Share Posted December 29, 2009 dang, ah wells. thanks for the work arounds. Link to comment Share on other sites More sharing options...
Mat Posted December 30, 2009 Share Posted December 30, 2009 If you want the actual tree I am sure it is not hard. The images will be a bit of a pain, but i'm sure I can throw something together for you (when my computer is fixed grrr....) AutoIt Project Listing Link to comment Share on other sites More sharing options...
KaFu Posted December 30, 2009 Share Posted December 30, 2009 (edited) KaFu did a lot of work on a tree structure like this in his SMF utility... but I found it quite difficult to follow his code., nice said, most of the time I myself dont understand what I did ... thats why I did a rip-off some time ago which can be found here, though that one definitly needs an update as I again heavily modified it within SMF (better performance, Win7 compatability, saving of states)... will do in the next days ...Edit: Btw, take a look at the heavily customized listview update functions in the next SMF release, fast as hell, very responsive... dozends of unecessary variables and coding practice bend to the limits ... Edited December 30, 2009 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 30, 2009 Moderators Share Posted December 30, 2009 KaFu, I will take a look at that topic - thanks for pointing it out. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now