I have a fold and I used objectValues['Image'] to make a array list of images. I have rename each image using AUTHENTICATED_pic.jpg and want to use an if statement to find the image with the same name in the array list. Can someone tell how?? Is there a findObject function or something?? --------------------------------- Yahoo! Mail Stay connected, organized, and protected. Take the tour
--On Samstag, 7. Mai 2005 19:52 Uhr -0700 Allen Huang <swapp0@yahoo.com> wrote:
I have a fold and I used objectValues['Image'] to make a array list of images. I have rename each image using AUTHENTICATED_pic.jpg and want to use an if statement to find the image with the same name in the array list. Can someone tell how?? Is there a findObject function or something??
if someid in folder.objectIds(['Image']): ... -aj
Allen Huang wrote:
I have a fold and I used objectValues['Image'] to make a array list of images. I have rename each image using AUTHENTICATED_pic.jpg and want to use an if statement to find the image with the same name in the array list. Can someone tell how?? Is there a findObject function or something??
Don't use objectValues for this. You simply need: image = folder['AUTHENTICATED_pic.jpg'] You can't use folder.AUTHENTICATED_pic.jpg because of the dot in the id. Cheers, Dan
participants (3)
-
Allen Huang -
Andreas Jung -
Dan Fairs