Jump to content

export with different file names


superman_kd
 Share

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

Recommended Posts

With FM8's variables you can make the export file path dynamic. In the "specify output file" window when you setup the export script step, use a variable instead of a real path: $_output.

In your script you can use a Custom Dialog to let the user type in a path, or take the path you have a in a field and with that info build a valid path in FM lingo: filemac:/volume/folder/file

and put that in the variable.

Link to comment
Share on other sites

  • 3 weeks later...

Ah, I have similar requirement in this respect as well. When executing a script to export record, a window dialog box will open up for user to input whatever filename they wish and what file type they would like to save the file etc. But I am interested to get whatever the user has keyed in as filename in the script, how can I capture the complete filename (together with extension) that the user has keyed-in in the script?

Thanks in advance.

NotPro

Link to comment
Share on other sites

This topic is 5684 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
 Share

×
×
  • Create New...

Important Information

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