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

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

Recommended Posts

Posted

i understood how to create a dynamic filepath by setting variables within a "esport to excel" script. it works fine. now i have another question:

let's say, someone wants to export several found sets one after the other to excel without the second export overwriting the first.

e.g.

script is saving the file automatically onto the local desktop. the first file would have the name "file1.xls", the second exported file would get the name "file2.xls", the third "file3.xls" - safari does this when downloading several files with the same name....

thanks for all your help.

hans

Posted

Multiple options:

Could a timestamp be added to the file name? File_20070704-1318.xls

In a network enviroment, create a table where each exported record is named with a unique file name.

Use a global variable to increment the file names. The variable would reset every time the file is closed.

Write the Windows/AppleScript to check if the file names already exists in the export location.

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