Hi Neil,
thanks. I don't need the code for extracting the hexcodes in the filenames.
I have all this working.
Also it's not that I would be looking for some strings in the filenames.
You assume that there was a searchString. There's not.
My idea is that there are 24 basic assumptions that you can make about an
image coded into the filename of the image. Or - regarding an image - 24
questions that one could ask and that could only be answered with yes or no.
The answers to these 24 questions are coded in the filename.
The user should be able to combine some of the answers to a selection and
get the images that match his selection.
So far I have 3 or 4 "preselection". One looks like this (I put the code
here, just to give you an impression, don't try to understand the meaning of
it!):
if bitAnd(code, 32768) > 0 then -- 1. Wahl
if ansi = 32 then -- Hintergrund
if bitAnd(code, 4) > 0 then
me.pLetterNumL[ANSI].add([elementNum, code])
me.pTypeSetL[ANSI] = me.pTypeSetL[ANSI] + 1
end if
else -- Buchstaben
if bitAnd(code, 8192) > 0 then -- klare Farbdominanz
if bitAnd(code, 4733) > 0 then
me.pLetterNumL[ANSI].add([elementNum, code])
me.pTypeSetL[ANSI] = me.pTypeSetL[ANSI] + 1
end if
end if
end if
end if
See what I mean? I want kind of that to be created on the fly.
Thanks!
Michael
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]