How can I get the list item of a disk and sub folder
How can I get the list item of a disk and sub folder
- Subject: How can I get the list item of a disk and sub folder
- From: Stephan Adam <email@hidden>
- Date: Tue, 09 Dec 2003 17:39:34 -0500
Hello list,
I want ot build an application in FileMaker to be able to enter a list of
images like this ;
12345.eps
23456.eps
47671.eps
...
In FileMaker I have a global field that I can set with an AppleScript to
tell on what disk to look for the picture in the list.
Now I need an AppleScript who can get the list of all items or better all
the file in the disk. I just want to check if the image are in the disk and
if yes I will flag a field in FileMaker to tell the user that this image
exist and I will set a container field in FileMaker to show the image.
Briefly, I need to verify if an image is on a specific disk on the network
and if yes I need to get the path of that image.
I am sure that I have seen a script who can get the info like :
set myPictureList to (every file in folder and subfolder...)
or maybe something like this :
if fileList of folder myFolder (and all subfolder) contain myPictureName
then
tell application "FileMaker Pro"
set field myImagePath to thePath of (info for thisItem)
Help please!
Sorry for the quality of my writing.
--
Stephan Adam
Stephan Adam Consultant inc.
Solutions d'automatisation
www.saconsultant.com
email@hidden
Cell. : (514) 944-6139
Membre associi, Filemaker Solutions Alliance
Associate Member, Filemaker Solutions Alliance
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.