randallc Posted August 28, 2006 Share Posted August 28, 2006 (edited) Hi, I agree with the idea and like the input; Best, Randall [PS interested to see a working script if you have one now....] Edited August 28, 2006 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
amanda089 Posted August 28, 2006 Author Share Posted August 28, 2006 This is the script as it is now. It will list the file(s) (directories and wildcards are supported, as dir allows). I have yet to write the adlib to update the sizes. And the sorting is funky.Track_File_Size.au3 Link to comment Share on other sites More sharing options...
GaryFrost Posted August 28, 2006 Share Posted August 28, 2006 This is the script as it is now. It will list the file(s) (directories and wildcards are supported, as dir allows). I have yet to write the adlib to update the sizes. And the sorting is funky. Sorry about the sorting, wasn't sure if the logic was correct, this should fix it. $val3 = 0 $val4 = 0 ; If it is the 2nd colum (columns starts with 0) $val1 = GetSubItemText($listview, $nItem1, $nColumn) $val2 = GetSubItemText($listview, $nItem2, $nColumn) If $nColumn = 1 Then $val1 = Number($val1) $val2 = Number($val2) $val3 = GetSubItemText($listview, $nItem1, $nColumn + 1) $val4 = GetSubItemText($listview, $nItem2, $nColumn + 1) ElseIf $nColumn = 2 Then $val3 = Number(GetSubItemText($listview, $nItem1, $nColumn - 1)) $val4 = Number(GetSubItemText($listview, $nItem2, $nColumn - 1)) EndIf SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
amanda089 Posted August 28, 2006 Author Share Posted August 28, 2006 After 3+ clicks, it is sorted correctly... Still a little funky Thsnk you for helping me with this, BTW. 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