directory walking sorted; file listing modification III

Klaus Major klaus at
Wed Dec 3 16:24:09 EST 2003

Hi Bob,

sorry, i really should get some sleep...

Here is my final version ;-)
>> global gHierList
>> on mouseUp
>>   put empty into gHierList
>>   put empty into field 1
>>   answer folder "Pick a folder you want to walk:"
>>   if it is empty then exit mouseUp
>>   set lockCursor to true
>>   set cursor to watch
>>   directoryWalk it

put gHierList into var1
filter var1 with "*.raw01.pic"
put gHierList into var2
filter var2 with "*.raw02.pic"
put gHierList into var3
filter var3 with "*.raw03.pic"

> put var1 & CR & var2 & CR & var3 into gHierlist
>>   sort gHierList
>>   put gHierList into field 1
>>   put number of lines of fld 1
>>   set lockCursor to false
>> end mouseUp
>> on directoryWalk whatFolder
>>   set the defaultFolder to whatFolder
>> ...
>> cheersbob

This should work as exspected, i'm off to bed now...

Klaus Major
klaus at

More information about the Use-livecode mailing list