Skip 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.

Is there a better way of using the export records script step...???

Featured Replies

Some of our users are on a Mac and some are on Windows. I've got a script setup that includes an Export Records step.

On Windows machines this isn't a problem because I can save it to filewin:/C:/filename.tab

No matter what computer you're on (windows) this will work because the drive letter is C:. I know it's possible somebody could have changed their drive letters, but that's not likely.

My problem is on the Mac side. The format for export records is filemac:/VolumeName/filename.tab

The problem here is that many Mac users change the name of their drive to something else and there's no way of knowing what it would be for any given user.

Is there a way I can set this up so that no matter what computer a person is on it will work? Currently I have an If/Then that checks the OS type and if it's Windows it just uses filewin:/c:/filename.tab and if it's Mac it uses filemac:/Macintosh HD/filename.tab. But if a Mac user has changed their drive name it won't work for them.

Any ideas? Thanks!

  • Author

I found a Get(SystemDrive) function that will return the Mac volume name so that's cool, however, it doesn't look like I can use variables or dynamic field values within the Export File script step's setup dialog..??

  • Author

Ah, I think I figured out a way using script variables.

  • Author

Yup, works great! Now it works no matter what platform they're on and no matter what the drive letter/volume name is. woohoo!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.