Ascend4nt Posted June 3, 2011 Posted June 3, 2011 KaFu, may I ask why the regular _ArraySort() wasn't used? Was it really that slow that you needed assembly optimization for a directory sort? Or was it not sorting them as Windows does? We could probably solve both problems with a Unicode 'dir' command prompt/pipe method, which of course allows us to sort and filter out (or in) hidden folders and such. I've looked at the rest of the code briefly, fixed the DLLStruct and DLLCall's, but yeah.. the code's a bit sloppy in its current state.. and wth is up with the O/S build checks... that can be shortened and of course other changes. Not sure if I'd want to dedicate too much time to this, but I'll ponder it as something to possibly do on the side, if you aren't going to touch it again. My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code)
KaFu Posted June 3, 2011 Author Posted June 3, 2011 Hi m8. I used _ArraySort() because it's really fast and I just did a search & replace on all occurrences of it in SMF. There's no reason why another method wouldn't work. In general I've only fixed some errors and I'm not planning to tinker on it in the next few weeks, espc. as I'm currently moving to a new flat with my girlfriend . It's kind of sloppy because that's my style and in fact it was one of my earlier codings, a merger of two other UDFs, which just grew, I never did a thoroughly clean-up. If you want to ponder it in fact I'll be happy to see the results as I know there's room for looots of improvements, espc. from a pro like you . Nevertheless I would suggest that you take the v43 from the SMF source as a starting point, as I repaired some things and added some functionality in the meantime. Best Regards OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
sliceofpie Posted June 3, 2011 Posted June 3, 2011 Hey guys, That's a great idea Ascend4nt. Me and other AutoIT users will greatly appreciate ShellTristateTreeView 64bit compatibility .
KaFu Posted June 3, 2011 Author Posted June 3, 2011 Truth to be told, it might be easier to just use Yashieds most excellent and add the tristate checkboxes to that . OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
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