January 4, 200620 yr Hello FM lovers, I am looking for a way to see the contents of a OS X folder via a container box. Is this possible? If possible, is it possible to open the files by clicking on them via FM ? Thanks
January 4, 200620 yr Kind of and Kind of. You could use the Trio File Plugin to list the contents of any folder, then, you could use a script to launch the file. Alternatley, with applescript you might be able to list the files, and set a field in Filemaker, then launch the file with applescript also, but I'm not for sure!
January 4, 200620 yr A Container field is not someplace where you can see a list of anything. It is a place where you can Insert a file or files. So I kind of wonder what you're wanting to do. It is possible, on a Mac using AppleScript, or using a plug-in such as Troi File, to see the files in a chosen (or specified) folder. You can then either open them all, or choose from the list. Here is an AppleScript that can do various things. It is separated in sections, with some commented out, as you would either use one or the other of the sections. set theFolder to (choose folder) set fileNames to list folder theFolder without invisibles tell application "Finder" (* -- to open the 1st file (not very useful) set theFile to (theFolder as string) & item 1 of fileNames open alias theFile *) (* -- to open all files repeat with aFile in fileNames set theFile to (theFolder as string) & aFile open alias theFile end repeat *) -- to choose file(s) choose from list fileNames with multiple selections allowed set chosenList to result if chosenList is not {} then repeat with aFile in chosenList set theFile to (theFolder as string) & aFile open alias theFile end repeat end if end tell -- comment a single line, text in this case (* comment multiple lines, remove pairs to turn on a section, add to disable *)
January 5, 200620 yr Author Gentlemen, Thank you very much for your help. I am investigating the Trio avenue first ( as it is the easier option) but I will try to apply the the Fenton script. Thank you again.
Create an account or sign in to comment