Jump to content

Path returned from Scriptmaster Select File and Import Records


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

Recommended Posts

I am trying to use SM's "Select File" dialog to get the path to a file that I will then Import. (using it to grab the name of the imported file)

 

Issue seems to be that the file path formats are incompatible.

E.g.

Select File returns (Mac system): /Users/Me/Directory/Filename.txt

But Import Records seems to expect fullpath format: filemac:/VOLUME/Users/Me/Directory/Filename.txt

 

Anyone know how to grab the volume name from Select File (under the idea that the file may be on a remote volume), or can tell me where I can modify my logic (e.g. will file: relative path work?)

 

Cheers,

Juz

Link to comment
Share on other sites

This topic is 3966 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.