At 9:46 PM +0100 12/21/02, you wrote:
Hi Tony -Hi and sorry,it should be FileGetType and not folderToList.
Well, there's another way to do it - you don't necessarily need to use fileXtra3's FileGetType method.
Since your images seem to all be JPEGs that actually end with ".jpg", you can check for that extension before adding them into the list:
as before ...
on getImageList gImageList = [] repeat with i = 1 to 255 filename = getNthFileNameinFolder(gImageFolder,i) if filename = "" then exit repeat
c = filename.char.count if filename.char[c-3..c] = ".jpg" then add gImageList, filename
end repeat
end
hope this helps -Buzz [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!]
