Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Viewing folder contents via FM

Featured Replies

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

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!

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 *)

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.