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.

Featured Replies

I was wondering if it is possible to show the names of folders in a particular folder.

I can get the names of the folders but dont know how to extract them

do shell script "ls /Volumes/apple seed160/ work"

The ideal solution would for the list to become available as a valuelist. If that is too tricky a suitable option may be to just see the list or add it to a field.

Thanks

Edited by Guest

Why not try directing the output of the ls command to a simple file, then use FMP to IMPORT the file. AFAIK the ls command has many command line options and certainly you can produce a single column listing of names only.

ls -p > dirlist

Have a look at the "man ls" for more info on the ls options.

No need to import, just make the applescript set the values directly into a field.

  • Author

thanks guys - I ended up using this script to dump into a field

tell application "FileMaker Pro"

set foldername to cell "Jobs reference::FTP site" of current record

tell application "Finder"

set filepath to "FTP_sites:" & foldername

set folderlist to name of every folder of container filepath as list

end tell

set cell "FTPfolder_list" of current record to folderlist

end tell

The list separates into repeating fields. What I would like if the list goes into a single field separated by paragraph return.

Thanks again

Edited by Guest

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.