Hi and sorry,
it should be FileGetType and not folderToList.
Tony
l�rdagen den 21 december 2002 kl 20.53 skrev Tony �str�m:
Hi,
can you give me a hint how to use fX3's folderToList. I only get the
"" in the
message window. All the images in the folder are in jpeg-format.
Here the code I use when I get the ".DS_Store"-problem.
on getImageList
gImageList = []
repeat with i = 1 to 255
filename = getNthFileNameinFolder(gImageFolder,i)
if filename = "" then exit repeat
add gImageList, filename
end repeat
end
on showImage
member("Image").filename = gImageFolder & gImageList[gImageNum]
end
(put gImageList
-- [".DS_Store", "grand_hotel.jpg", "hilton.jpg", "referens.jpg"])
T I A
Tony
l�rdagen den 21 december 2002 kl 07.04 skrev Buzz Kettles:
At 7:03 PM +0100 12/20/02, you wrote:
Hi,
I use FileXtra to looks and gets the filename of an image in a
folder. When
I show the images the invisible ".DS_Store"-file also come up. I use
MacOsX
and Dir.8.0 in Classic mode.
How can I get around this invisible file problem?
T I A
Tony
It sounds like you are using fX3's 'folderToList' to get back a
folder's contents using 'folderToList'.
you can use fX3's 'fx_FileGetType' to then verify each file type &
clean out the list before using each filename.
hth
-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!]
[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!]
[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!]