Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6478 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!

Posted

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

This topic is 6478 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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