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.

How to get the path of an exported file

Featured Replies

  • Newbies

Hi,

I have a filemaker script to perform exporting data to a file and then open the exported file in another application. The problem is after I exported the file, how can I store the path to that file so I can pass it to another application via apple script?

Thanks in advance for any help.

I think you should post this in the applescript forum.

This isn't going to be easy. FileMaker doesn't give access to the path in any form that AppleScript can use. So, if you must do this, I would suggest something like the following algorithm:

Use AppleScript to get user to select folder to export to and store this folder for later reference.

Use FileMaker to export the data to a known folder that is the same every time, independent from where the user asked to place the file.

Use AppleScript to copy the exported data to the folder selected by the user and delete the copy in the default location.

Use AppleScript to open the file in your other application.

Chuck

  • Author
  • Newbies

Thank you Chuck for your help.

How can you tell FileMaker to export file to the same path and same file name everytime? If you can show how, it will solve my problem.

Thanx

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.