Jump to content
Sign in to follow this  

Structs, Structs, and more Structs

Recommended Posts


I agree with the idea and like the input;

Best, Randall

[PS interested to see a working script if you have one now....]

Edited by randallc

Share this post

Link to post
Share on other sites

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

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Create New...